Lines Matching full:notifications
60 " <interface name='org.gtk.Notifications'>" in org_gtk_Notifications_get_interface()
76 iface_info = g_dbus_node_info_lookup_interface (info, "org.gtk.Notifications"); in org_gtk_Notifications_get_interface()
92 GHashTable *notifications; in g_notification_server_notification_added() local
94 notifications = g_hash_table_lookup (server->applications, app_id); in g_notification_server_notification_added()
95 if (notifications == NULL) in g_notification_server_notification_added()
97 notifications = g_hash_table_new_full (g_str_hash, g_str_equal, in g_notification_server_notification_added()
99 g_hash_table_insert (server->applications, g_strdup (app_id), notifications); in g_notification_server_notification_added()
102 g_hash_table_replace (notifications, g_strdup (notification_id), g_variant_ref (notification)); in g_notification_server_notification_added()
112 GHashTable *notifications; in g_notification_server_notification_removed() local
114 notifications = g_hash_table_lookup (server->applications, app_id); in g_notification_server_notification_removed()
115 if (notifications) in g_notification_server_notification_removed()
117 g_hash_table_remove (notifications, notification_id); in g_notification_server_notification_removed()
118 if (g_hash_table_size (notifications) == 0) in g_notification_server_notification_removed()
227 server->object_id = g_dbus_connection_register_object (connection, "/org/gtk/Notifications", in g_notification_server_bus_acquired()
268 "org.gtk.Notifications", in g_notification_server_init()
326 GHashTable *notifications; in g_notification_server_list_notifications() local
331 notifications = g_hash_table_lookup (server->applications, app_id); in g_notification_server_list_notifications()
333 if (notifications == NULL) in g_notification_server_list_notifications()
336 return (gchar **) g_hash_table_get_keys_as_array (notifications, NULL); in g_notification_server_list_notifications()