After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405175 - Closing with the wm emits warnings
Closing with the wm emits warnings
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Keybinding
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-06 23:39 UTC by Mariano Suárez-Alvarez
Modified: 2007-02-07 18:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix those warnings (2.03 KB, patch)
2007-02-06 23:39 UTC, Mariano Suárez-Alvarez
none Details | Review
Simpler patch (the wm close also causes a response...) (2.07 KB, patch)
2007-02-06 23:52 UTC, Mariano Suárez-Alvarez
committed Details | Review

Description Mariano Suárez-Alvarez 2007-02-06 23:39:05 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.
Comment 1 Mariano Suárez-Alvarez 2007-02-06 23:39:59 UTC
Created attachment 82052 [details] [review]
Fix those warnings
Comment 2 Mariano Suárez-Alvarez 2007-02-06 23:52:12 UTC
Created attachment 82053 [details] [review]
Simpler patch (the wm close also causes a response...)
Comment 3 Jens Granseuer 2007-02-07 16:52:00 UTC
Looks good. Please commit.
Comment 4 Mariano Suárez-Alvarez 2007-02-07 18:42:58 UTC
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)