]> Pileus Git - ~andy/gtk/commitdiff
GtkComboBoxAccessible: Make keybindings work
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Nov 2011 14:23:14 +0000 (09:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Nov 2011 14:26:15 +0000 (09:26 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=659151

gtk/a11y/gtkcomboboxaccessible.c

index aacf35ad14468500138a019a0775fb22d4668d00..6b1581fd64cbf8b7685e37176c6d0210eca7265f 100644 (file)
@@ -273,7 +273,7 @@ gtk_combo_box_accessible_get_keybinding (AtkAction *action,
     {
       target = atk_relation_get_target (relation);
       target_object = g_ptr_array_index (target, 0);
-      widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (target_object));
+      label = gtk_accessible_get_widget (GTK_ACCESSIBLE (target_object));
     }
   g_object_unref (set);
   if (GTK_IS_LABEL (label))