[libwnck] tasklist: Remove disabling of libgnomeui sounds



commit 629aecd83a75281657176a2eae2d627c21a50961
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Aug 12 12:51:28 2011 +0200

    tasklist: Remove disabling of libgnomeui sounds
    
    Since we moved to GTK+ 3, this is not useful anymore.

 libwnck/tasklist.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index b3f5755..7f9d7d0 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -3627,14 +3627,10 @@ wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
   GdkPixbuf *pixbuf;
   char *text;
   GtkCssProvider *provider;
-  static GQuark disable_sound_quark = 0;
   static const GtkTargetEntry targets[] = {
     { "application/x-wnck-window-id", 0, 0 }
   };
 
-  if (!disable_sound_quark)
-    disable_sound_quark = g_quark_from_static_string ("gnome_disable_sound_events");
-
   if (task->type == WNCK_TASK_STARTUP_SEQUENCE)
     task->button = gtk_button_new ();
   else
@@ -3643,8 +3639,6 @@ wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
   gtk_button_set_relief (GTK_BUTTON (task->button), relief);
 
   task->button_activate = 0;
-  g_object_set_qdata (G_OBJECT (task->button),
-		      disable_sound_quark, GINT_TO_POINTER (TRUE));
   g_object_add_weak_pointer (G_OBJECT (task->button),
                              (void**) &task->button);
 



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