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:
Padraig O'Briain 2002-01-16 08:53:15 +00:00
parent 337982738d
commit b573dba9e0
8 changed files with 44 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -981,7 +981,14 @@ 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)
{