Fixed warning catch in gtk_window_compute_hints().

This commit is contained in:
Tristan Van Berkom 2011-04-03 18:09:22 +09:00
parent 8a1a0bd0c7
commit 0b8a1dcac2

View File

@ -7168,7 +7168,7 @@ gtk_window_compute_hints (GtkWindow *window,
extra_width = requisition.width - TEMPORARY_SIZE;
extra_height = requisition.height - TEMPORARY_SIZE;
if (extra_width < 0 || extra_width < 0)
if (extra_width < 0 || extra_height < 0)
{
g_warning("Toplevel size doesn't seem to directly depend on the "
"size of the geometry widget from gtk_window_set_geometry_hints(). "