[gnome-bluetooth] wizard: remove dead code
- From: Daniele Forsi <dforsi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] wizard: remove dead code
- Date: Sun, 18 Dec 2011 22:13:15 +0000 (UTC)
commit eb90227aa6ad92df3c3481cc02d519deffe06f9e
Author: Daniele Forsi <dforsi src gnome org>
Date: Sun Dec 18 22:00:13 2011 +0100
wizard: remove dead code
Code used to set "button" data was removed in commit 8b143309.
wizard/main.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index cc49333..9209752 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]