[gtk+] Fixed warning catch in gtk_window_compute_hints().
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fixed warning catch in gtk_window_compute_hints().
- Date: Sun, 3 Apr 2011 21:09:40 +0000 (UTC)
commit 0b8a1dcac252b3af1bf1c90721f35092ffa04448
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Apr 3 18:09:22 2011 +0900
Fixed warning catch in gtk_window_compute_hints().
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 16e5fb0..fb95761 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -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(). "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]