aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app-indicator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 4df3d3f..a500a73 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -254,7 +254,7 @@ name_appeared_handler (GDBusConnection *connection,
NOTIFICATION_WATCHER_DBUS_IFACE,
NULL,
(GAsyncReadyCallback) watcher_ready_cb,
- g_object_ref (self));
+ (AppIndicator*)g_object_ref (self));
}
static void
@@ -1383,7 +1383,7 @@ check_connect (AppIndicator *self)
G_DBUS_CALL_FLAGS_NONE,
-1, NULL,
(GAsyncReadyCallback) register_service_cb,
- g_object_ref (self));
+ (AppIndicator*)g_object_ref (self));
}
/* Responce from the DBus command to register a service
@@ -2289,7 +2289,7 @@ app_indicator_set_secondary_activate_target (AppIndicator *self, GtkWidget *menu
g_return_if_fail (GTK_IS_WIDGET (menuitem));
- priv->sec_activate_target = g_object_ref(G_OBJECT(menuitem));
+ priv->sec_activate_target = (GtkWidget*)g_object_ref(G_OBJECT(menuitem));
priv->sec_activate_enabled = widget_is_menu_child(self, menuitem);
g_signal_connect(menuitem, "parent-set", G_CALLBACK(sec_activate_target_parent_changed), self);
}