[gnome-bluetooth/gnome-3-10] wizard: Remove unused label_fixed



commit fd346c38d509339f955083861e1fd4b641f439eb
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 13 15:49:52 2013 +0100

    wizard: Remove unused label_fixed
    
    It was added but never actually used.

 wizard/main.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 5cd60a1..7a94692 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -112,7 +112,6 @@ static BluetoothChooser *selector = NULL;
 static GtkWidget *pin_option_button = NULL;
 
 static GtkWidget *pin_dialog = NULL;
-static GtkWidget *label_fixed = NULL;
 static GtkWidget *radio_auto = NULL;
 static GtkWidget *radio_0000 = NULL;
 static GtkWidget *radio_1111 = NULL;
@@ -788,14 +787,12 @@ select_device_changed (BluetoothChooser *selector,
        legacypairing = lp;
 
        if (legacypairing == TRUE) {
-               gtk_widget_show(label_fixed);
                gtk_widget_show(radio_0000);
                gtk_widget_show(radio_1111);
                gtk_widget_show(radio_1234);
                gtk_widget_show(radio_custom);
                gtk_widget_show(entry_custom);
        } else {
-               gtk_widget_hide(label_fixed);
                gtk_widget_hide(radio_0000);
                gtk_widget_hide(radio_1111);
                gtk_widget_hide(radio_1234);
@@ -920,7 +917,6 @@ create_wizard (void)
        radio_1111 = W("radio_1111");
        radio_1234 = W("radio_1234");
        radio_none = W("radio_none");
-       label_fixed = W("label_fixed_len");
        radio_custom = W("radio_custom");
        entry_custom = W("entry_custom");
 


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