aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-printers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-printers.c b/src/indicator-printers.c
index e13ab59..3a642ac 100644
--- a/src/indicator-printers.c
+++ b/src/indicator-printers.c
@@ -160,8 +160,8 @@ indicator_printers_init (IndicatorPrinters *io)
priv->entry.name_hint = PACKAGE_NAME;
priv->entry.accessible_desc = "Printers";
- priv->entry.menu = GTK_MENU (menu);
- priv->entry.image = image;
+ priv->entry.menu = GTK_MENU (g_object_ref_sink (menu));
+ priv->entry.image = g_object_ref_sink (image);
}