]> Pileus Git - ~andy/gtk/commit
Warn when calling gtk_window_parse_geometry() on an empty window
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 10 Oct 2010 02:29:20 +0000 (22:29 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 11 Oct 2010 18:06:03 +0000 (14:06 -0400)
commit519d7587117269773c1bd85887779b80fca04b81
tree94bf853d0b1cb1e8e95b4f71317a7aef82e2b480
parent88cf5470290cd03ada031641cb6ee1c90df75e7d
Warn when calling gtk_window_parse_geometry() on an empty window

gtk_window_parse_geometry() gets the size of the window in order
to interpret the position of the window; calling it before, say,
calling gtk_widget_show_all() on a window is a subtle trap, so
add a warning in the case we can easily detect.

https://bugzilla.gnome.org/show_bug.cgi?id=631794
gtk/gtkwindow.c