diff options
author | Benjamin Otte <otte@redhat.com> | 2011-06-09 06:00:34 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-09 06:00:34 +0200 |
commit | dee2e747360b53edef9f66fb8e8a955e5a752674 (patch) | |
tree | a3ea9cbc598ac92263f42f344362ab97a4f59519 /modules | |
parent | 53e3f432177bc8030386d9f87e50d5c1a6ee324a (diff) | |
download | gtk+-dee2e747360b53edef9f66fb8e8a955e5a752674.tar.gz |
gail: Remove unreachable code
Diffstat (limited to 'modules')
-rw-r--r-- | modules/other/gail/gaillabel.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/modules/other/gail/gaillabel.c b/modules/other/gail/gaillabel.c index 1961e88421..e257b739d5 100644 --- a/modules/other/gail/gaillabel.c +++ b/modules/other/gail/gaillabel.c @@ -484,37 +484,6 @@ gail_label_ref_relation_set (AtkObject *obj) } g_list_free (list); } - /* - * Handle the case where a GnomeIconEntry is specified as the - * mnemonic widget. use the button which is a grandchild of the - * GnomeIconEntry as the mnemonic widget. See bug #133967. - */ - else if (GTK_IS_BOX (mnemonic_widget)) - { - GList *list; - - list = gtk_container_get_children (GTK_CONTAINER (mnemonic_widget)); - if (g_list_length (list) == 1) - { - if (GTK_IS_ALIGNMENT (list->data)) - { - GtkWidget *temp_widget; - - temp_widget = gtk_bin_get_child (GTK_BIN (list->data)); - if (GTK_IS_BUTTON (temp_widget)) - mnemonic_widget = temp_widget; - } - else if (GTK_IS_HBOX (list->data)) - { - GtkWidget *temp_widget; - - temp_widget = GTK_WIDGET (list->data); - g_list_free (list); - list = gtk_container_get_children (GTK_CONTAINER (temp_widget)); - } - } - g_list_free (list); - } } accessible_array[0] = gtk_widget_get_accessible (mnemonic_widget); relation = atk_relation_new (accessible_array, 1, |