mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Avoid a compiler warning. (#395045, Chris Wilson)
2007-01-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid a compiler warning. (#395045, Chris Wilson) svn path=/trunk/; revision=17141
This commit is contained in:
parent
17c60500bb
commit
5d82752ae5
@ -1,3 +1,8 @@
|
||||
2007-01-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
|
||||
a compiler warning. (#395045, Chris Wilson)
|
||||
|
||||
2007-01-13 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkprintoperation-win32.c : take the custom tab label from
|
||||
|
@ -454,9 +454,6 @@ gtk_radio_button_focus (GtkWidget *widget,
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
case GTK_DIR_TAB_FORWARD:
|
||||
case GTK_DIR_TAB_BACKWARD:
|
||||
return FALSE;
|
||||
case GTK_DIR_LEFT:
|
||||
case GTK_DIR_RIGHT:
|
||||
focus_list = g_slist_copy (radio_button->group);
|
||||
@ -467,6 +464,11 @@ gtk_radio_button_focus (GtkWidget *widget,
|
||||
focus_list = g_slist_copy (radio_button->group);
|
||||
focus_list = g_slist_sort_with_data (focus_list, up_down_compare, toplevel);
|
||||
break;
|
||||
case GTK_DIR_TAB_FORWARD:
|
||||
case GTK_DIR_TAB_BACKWARD:
|
||||
/* fall through */
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (direction == GTK_DIR_LEFT || direction == GTK_DIR_UP)
|
||||
|
Loading…
Reference in New Issue
Block a user