aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-20 08:54:48 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-20 08:54:48 +0000
commit34b4321ec38798e569be27292c49d1b06ab6a727 (patch)
tree1ee580286640518252bdd01da0d1f7e81a4f79b0
parent3b3c265887176cad3e2c5b0ac3f32fa81faad6ff (diff)
downloadlibayatana-indicator-34b4321ec38798e569be27292c49d1b06ab6a727.tar.gz
libayatana-indicator-34b4321ec38798e569be27292c49d1b06ab6a727.tar.bz2
libayatana-indicator-34b4321ec38798e569be27292c49d1b06ab6a727.zip
libayatana-indicator/indicator-ng.c: Type cast assignments from g_object_ref_sink().
-rw-r--r--libayatana-indicator/indicator-ng.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libayatana-indicator/indicator-ng.c b/libayatana-indicator/indicator-ng.c
index e645522..d1040a1 100644
--- a/libayatana-indicator/indicator-ng.c
+++ b/libayatana-indicator/indicator-ng.c
@@ -687,10 +687,10 @@ indicator_ng_initable_iface_init (GInitableIface *initable)
static void
indicator_ng_init (IndicatorNg *self)
{
- self->entry.label = g_object_ref_sink (gtk_label_new (NULL));
- self->entry.image = g_object_ref_sink (gtk_image_new ());
+ self->entry.label = (GtkLabel*)g_object_ref_sink (gtk_label_new (NULL));
+ self->entry.image = (GtkImage*)g_object_ref_sink (gtk_image_new ());
- self->entry.menu = g_object_ref_sink (gtk_menu_new ());
+ self->entry.menu = (GtkMenu*)g_object_ref_sink (gtk_menu_new ());
g_signal_connect (self->entry.menu, "show", G_CALLBACK (indicator_ng_menu_shown), self);
g_signal_connect (self->entry.menu, "hide", G_CALLBACK (indicator_ng_menu_hidden), self);