Commit d263d0bc authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

cast to GTK_WIDGET() for the gtk_widget_hide() call.

Thu Nov 20 15:41:56 2003  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
        for the gtk_widget_hide() call.
parent 01780084
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com> Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org> ...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist. throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel (error_message): Handle the case where there is no real toplevel
yet. yet.
(list_model_filter_func): Always let folders pass through (patch (list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm). by Dave Malcolm).
......
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com> Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org> ...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist. throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel (error_message): Handle the case where there is no real toplevel
yet. yet.
(list_model_filter_func): Always let folders pass through (patch (list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm). by Dave Malcolm).
......
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com> Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org> ...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist. throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel (error_message): Handle the case where there is no real toplevel
yet. yet.
(list_model_filter_func): Always let folders pass through (patch (list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm). by Dave Malcolm).
......
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com> Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org> ...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist. throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel (error_message): Handle the case where there is no real toplevel
yet. yet.
(list_model_filter_func): Always let folders pass through (patch (list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm). by Dave Malcolm).
......
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com> Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org> ...@@ -20,6 +25,7 @@ Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist. throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel (error_message): Handle the case where there is no real toplevel
yet. yet.
(list_model_filter_func): Always let folders pass through (patch (list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm). by Dave Malcolm).
......
...@@ -1673,7 +1673,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu, ...@@ -1673,7 +1673,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
} }
else else
{ {
gtk_widget_hide (menu); gtk_widget_hide (GTK_WIDGET (menu));
gtk_widget_hide (menu->tearoff_window); gtk_widget_hide (menu->tearoff_window);
gtk_menu_reparent (menu, menu->toplevel, FALSE); gtk_menu_reparent (menu, menu->toplevel, FALSE);
gtk_widget_destroy (menu->tearoff_window); gtk_widget_destroy (menu->tearoff_window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment