GNOME Bugzilla – Bug 405175
Closing with the wm emits warnings
Last modified: 2007-02-07 18:42:58 UTC
If you close HEAD with the window manager closse button, you get: (gnome-keybinding-properties:24127): Gtk-CRITICAL **: gtk_tree_view_get_model: assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-keybinding-properties:24127): Gtk-CRITICAL **: gtk_tree_view_set_model: assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-keybinding-properties:24127): Gtk-CRITICAL **: gtk_scrolled_window_set_policy: assertion `GTK_IS_SCROLLED_WINDOW (scrolled_window)' failed (gnome-keybinding-properties:24127): Gtk-CRITICAL **: gtk_widget_set_usize: assertion `GTK_IS_WIDGET (widget)' failed This is due to a line that got in when fixing bug 394824.
Created attachment 82052 [details] [review] Fix those warnings
Created attachment 82053 [details] [review] Simpler patch (the wm close also causes a response...)
Looks good. Please commit.
Fixed on HEAD. r7255 | mariano | 2007-02-07 15:34:49 -0300 (Wed, 07 Feb 2007) | 8 lines 2007-02-07 Mariano Suárez-Alvarez <mariano@gnome.org> * gnome-keybinding-properties.c (clear_old_model, reload_key_entries, cb_dialog_response, setup_dialog, main): organize the way things a cleared at exit time so as to avoid warnings. (fixes bug 405175)