forked from AuroraMiddleware/gtk
Avoid unexpected warning message when navigating menu (#68517)
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Avoid unexpected warning message when navigating menu (#68517)
This commit is contained in:
parent
337982738d
commit
b573dba9e0
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
|
||||
Avoid unexpected warning message when navigating menu (#68517)
|
||||
|
||||
2002-01-15 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
|
||||
|
@ -981,8 +981,15 @@ gtk_real_menu_shell_move_current (GtkMenuShell *menu_shell,
|
||||
while (parent_menu_shell &&
|
||||
(GTK_MENU_SHELL_GET_CLASS (parent_menu_shell)->submenu_placement ==
|
||||
GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement))
|
||||
parent_menu_shell = GTK_MENU_SHELL (parent_menu_shell->parent_menu_shell);
|
||||
|
||||
{
|
||||
GtkWidget *tmp_widget = parent_menu_shell->parent_menu_shell;
|
||||
|
||||
if (tmp_widget)
|
||||
parent_menu_shell = GTK_MENU_SHELL (tmp_widget);
|
||||
else
|
||||
parent_menu_shell = NULL;
|
||||
}
|
||||
|
||||
if (parent_menu_shell)
|
||||
{
|
||||
gtk_menu_shell_move_selected (parent_menu_shell, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user