[gnome-control-center] privacy: Use correct ref increasing function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] privacy: Use correct ref increasing function
- Date: Mon, 3 Dec 2012 10:09:34 +0000 (UTC)
commit 93db18c487d8dc24eca9b06a5f7ab868778d8c6e
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 3 11:09:19 2012 +0100
privacy: Use correct ref increasing function
panels/privacy/cc-privacy-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.c b/panels/privacy/cc-privacy-panel.c
index 8f46d4b..25ea9d6 100644
--- a/panels/privacy/cc-privacy-panel.c
+++ b/panels/privacy/cc-privacy-panel.c
@@ -611,7 +611,7 @@ update_separator_func (GtkWidget **separator,
{
*separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_show (*separator);
- g_object_ref (*separator);
+ g_object_ref_sink (*separator);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]