[gnome-flashback] notifications: remove unused hash table



commit a127a0d6ba9fde333d481043a031e3e3095c762a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Feb 9 16:48:45 2020 +0200

    notifications: remove unused hash table

 gnome-flashback/libnotifications/nd-queue.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gnome-flashback/libnotifications/nd-queue.c b/gnome-flashback/libnotifications/nd-queue.c
index 2d172f0..55e16b2 100644
--- a/gnome-flashback/libnotifications/nd-queue.c
+++ b/gnome-flashback/libnotifications/nd-queue.c
@@ -43,7 +43,6 @@ typedef struct
 struct NdQueuePrivate
 {
         GHashTable    *notifications;
-        GHashTable    *bubbles;
         GQueue        *queue;
 
         GtkStatusIcon *status_icon;
@@ -436,7 +435,6 @@ nd_queue_init (NdQueue *queue)
 {
         queue->priv = nd_queue_get_instance_private (queue);
         queue->priv->notifications = g_hash_table_new_full (NULL, NULL, NULL, g_object_unref);
-        queue->priv->bubbles = g_hash_table_new_full (NULL, NULL, NULL, g_object_unref);
         queue->priv->queue = g_queue_new ();
         queue->priv->status_icon = NULL;
 
@@ -485,7 +483,6 @@ nd_queue_finalize (GObject *object)
         g_return_if_fail (queue->priv != NULL);
 
         g_hash_table_destroy (queue->priv->notifications);
-        g_hash_table_destroy (queue->priv->bubbles);
         g_queue_free (queue->priv->queue);
 
         destroy_screen (queue);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]