[Xfce4-commits] [apps/xfdashboard] 15/19: Add missing code to unreference backend in API documentation
noreply at xfce.org
noreply at xfce.org
Fri Jun 16 10:56:46 CEST 2017
This is an automated email from the git hooks/post-receive script.
n o m a d p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfdashboard.
commit 2af8d7f7e1a15cfa958e86090660cd8aca32719c
Author: Stephan Haller <nomad at froevel.de>
Date: Wed Jun 14 10:57:12 2017 +0200
Add missing code to unreference backend in API documentation
Fix for issue GH #129
---
libxfdashboard/window-tracker-window.c | 3 +++
libxfdashboard/window-tracker.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/libxfdashboard/window-tracker-window.c b/libxfdashboard/window-tracker-window.c
index 01eaab3..4e8daea 100644
--- a/libxfdashboard/window-tracker-window.c
+++ b/libxfdashboard/window-tracker-window.c
@@ -757,6 +757,7 @@ gboolean xfdashboard_window_tracker_window_is_stage(XfdashboardWindowTrackerWind
*
* backend=xfdashboard_window_tracker_backend_get_default();
* stage=xfdashboard_window_tracker_backend_get_stage_from_window(backend, self);
+ * g_object_unref(backend);
* ]|
*
* Return value: (transfer none): The #ClutterStage for stage window @self or
@@ -801,6 +802,7 @@ ClutterStage* xfdashboard_window_tracker_window_get_stage(XfdashboardWindowTrack
*
* backend=xfdashboard_window_tracker_backend_get_default();
* xfdashboard_window_tracker_backend_show_stage_window(backend, self);
+ * g_object_unref(backend);
* ]|
*/
void xfdashboard_window_tracker_window_show_stage(XfdashboardWindowTrackerWindow *self)
@@ -836,6 +838,7 @@ void xfdashboard_window_tracker_window_show_stage(XfdashboardWindowTrackerWindow
*
* backend=xfdashboard_window_tracker_backend_get_default();
* xfdashboard_window_tracker_backend_hide_stage_window(backend, self);
+ * g_object_unref(backend);
* ]|
*/
void xfdashboard_window_tracker_window_hide_stage(XfdashboardWindowTrackerWindow *self)
diff --git a/libxfdashboard/window-tracker.c b/libxfdashboard/window-tracker.c
index 18aa1f6..049a862 100644
--- a/libxfdashboard/window-tracker.c
+++ b/libxfdashboard/window-tracker.c
@@ -579,6 +579,7 @@ void xfdashboard_window_tracker_default_init(XfdashboardWindowTrackerInterface *
*
* backend=xfdashboard_window_tracker_backend_get_default();
* tracker=xfdashboard_window_tracker_backend_get_window_tracker(backend);
+ * g_object_unref(backend);
* ]|
*
* Return value: (transfer full): The instance of #XfdashboardWindowTracker.
@@ -1115,6 +1116,7 @@ XfdashboardWindowTrackerWindow* xfdashboard_window_tracker_get_root_window(Xfdas
*
* backend=xfdashboard_window_tracker_backend_get_default();
* stageWindow=xfdashboard_window_tracker_backend_get_window_for_stage(backend, inStage);
+ * g_object_unref(backend);
* ]|
*
* Return value: (transfer none): The #XfdashboardWindowTrackerWindow representing
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list