[gtk+/parser: 2/66] sizerequest: return CONSTANT_SIZE in return_if_fail()



commit a4bb3143db28cca1155143401fd7c09ab7ef20b8
Author: Benjamin Otte <otte redhat com>
Date:   Fri Apr 1 00:21:04 2011 +0200

    sizerequest: return CONSTANT_SIZE in return_if_fail()

 gtk/gtksizerequest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c
index 4b379cc..67312b9 100644
--- a/gtk/gtksizerequest.c
+++ b/gtk/gtksizerequest.c
@@ -507,7 +507,7 @@ compute_size_for_orientation (GtkWidget         *widget,
 GtkSizeRequestMode
 gtk_widget_get_request_mode (GtkWidget *widget)
 {
-  g_return_val_if_fail (GTK_IS_WIDGET (widget), GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH);
+  g_return_val_if_fail (GTK_IS_WIDGET (widget), GTK_SIZE_REQUEST_CONSTANT_SIZE);
 
   return GTK_WIDGET_GET_CLASS (widget)->get_request_mode (widget);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]