[gnome-control-center] search: Use correct ref increasing function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] search: Use correct ref increasing function
- Date: Mon, 3 Dec 2012 10:09:29 +0000 (UTC)
commit 63521fe34e4658d460d6925e4fe5185a2e680d8c
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 3 11:08:59 2012 +0100
search: Use correct ref increasing function
panels/search/cc-search-locations-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/search/cc-search-locations-dialog.c b/panels/search/cc-search-locations-dialog.c
index c9b18be..b857a0a 100644
--- a/panels/search/cc-search-locations-dialog.c
+++ b/panels/search/cc-search-locations-dialog.c
@@ -523,7 +523,7 @@ place_separator_func (GtkWidget **separator,
gtk_widget_set_halign (w, GTK_ALIGN_START);
gtk_style_context_add_class (gtk_widget_get_style_context (w), "dim-label");
- g_object_ref (w);
+ g_object_ref_sink (w);
*separator = w;
g_free (text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]