summaryrefslogtreecommitdiff
path: root/wizard/main.c
diff options
context:
space:
mode:
authorDaniele Forsi <dforsi@src.gnome.org>2011-12-18 22:00:13 +0100
committerDaniele Forsi <dforsi@src.gnome.org>2011-12-18 22:05:10 +0100
commiteb90227aa6ad92df3c3481cc02d519deffe06f9e (patch)
tree728faa7e7aab9329c0ee4405021eb1406127a07a /wizard/main.c
parentc7596ad267e90d64a744b70263c4f339b645b830 (diff)
downloadgnome-bluetooth-eb90227aa6ad92df3c3481cc02d519deffe06f9e.tar.gz
wizard: remove dead code
Code used to set "button" data was removed in commit 8b143309.
Diffstat (limited to 'wizard/main.c')
-rw-r--r--wizard/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/wizard/main.c b/wizard/main.c
index cc49333c..92097528 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -653,19 +653,11 @@ set_user_pincode (GtkWidget *button)
list = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
for (l = list; l ; l = l->next) {
GtkEntry *entry;
- GtkWidget *radio;
const char *pin;
if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button)))
continue;
- /* Is it radio_fixed that changed? */
- radio = g_object_get_data (G_OBJECT (button), "button");
- if (radio != NULL) {
- set_user_pincode (radio);
- return;
- }
-
pin = g_object_get_data (G_OBJECT (button), "pin");
entry = g_object_get_data (G_OBJECT (button), "entry");