From 34b4321ec38798e569be27292c49d1b06ab6a727 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Mar 2018 08:54:48 +0000 Subject: libayatana-indicator/indicator-ng.c: Type cast assignments from g_object_ref_sink(). --- libayatana-indicator/indicator-ng.c | 6 +++--- 1 file 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); -- cgit v1.2.3