[gnome-control-center] sound: remove old GTK2 styling code



commit 9b0a5099664e705c778bb0a6cc848ec0e6736184
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 16:01:56 2013 -0500

    sound: remove old GTK2 styling code
    
    gtk_rc_parse_string() doesn't do anything these days, and we don't need
    a name on the widget anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692238

 panels/sound/gvc-balance-bar.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/sound/gvc-balance-bar.c b/panels/sound/gvc-balance-bar.c
index e6f10d4..3ef6ff7 100644
--- a/panels/sound/gvc-balance-bar.c
+++ b/panels/sound/gvc-balance-bar.c
@@ -93,12 +93,6 @@ _scale_box_new (GvcBalanceBar *bar)
         priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, priv->adjustment);
         gtk_widget_set_size_request (priv->scale, SCALE_SIZE, -1);
 
-        gtk_widget_set_name (priv->scale, "balance-bar-scale");
-        gtk_rc_parse_string ("style \"balance-bar-scale-style\" {\n"
-                             " GtkScale::trough-side-details = 0\n"
-                             "}\n"
-                             "widget \"*.balance-bar-scale\" style : rc \"balance-bar-scale-style\"\n");
-
         bar->priv->start_box = sbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
         gtk_box_pack_start (GTK_BOX (box), sbox, FALSE, FALSE, 0);
 



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