diff options
Diffstat (limited to 'src/indicator-notifications.c')
-rw-r--r-- | src/indicator-notifications.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c index 8238e02..2e75a97 100644 --- a/src/indicator-notifications.c +++ b/src/indicator-notifications.c @@ -97,6 +97,7 @@ static GtkImage *get_image(IndicatorObject *io); static GtkMenu *get_menu(IndicatorObject *io); static const gchar *get_accessible_desc(IndicatorObject *io); static GdkPixbuf *load_icon(const gchar *, guint); +static void menu_visible_notify_cb(GtkWidget *, GParamSpec *, gpointer); static void receive_signal(GDBusProxy *proxy, gchar *sender_name, gchar *signal_name, GVariant *parameters, gpointer user_data); static void service_proxy_cb(GObject *object, GAsyncResult *res, gpointer user_data); @@ -128,7 +129,8 @@ indicator_notifications_class_init(IndicatorNotificationsClass *klass) static void menu_visible_notify_cb(GtkWidget *menu, G_GNUC_UNUSED GParamSpec *pspec, gpointer user_data) { - /*IndicatorNotifications *self = INDICATOR_NOTIFICATIONS(user_data);*/ + /* IndicatorNotifications *self = INDICATOR_NOTIFICATIONS(user_data); */ + g_debug("notify visible signal received"); gboolean visible; @@ -163,8 +165,6 @@ indicator_notifications_init(IndicatorNotifications *self) g_signal_connect(self->priv->menu, "notify::visible", G_CALLBACK(menu_visible_notify_cb), self); - /*DbusmenuGtkClient *client = dbusmenu_gtkmenu_get_client(self->priv->menu);*/ - self->priv->service_proxy_cancel = g_cancellable_new(); g_dbus_proxy_new_for_bus(G_BUS_TYPE_SESSION, |