[gtk+] menubar: Remove unnecessary return_if_fail() in vfuncs



commit d6fbbe159f68130b5cc534e61476226f015ed718
Author: Benjamin Otte <otte redhat com>
Date:   Sat Apr 30 05:50:17 2011 +0200

    menubar: Remove unnecessary return_if_fail() in vfuncs

 gtk/gtkmenubar.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index db84ed3..6af235b 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -303,9 +303,6 @@ gtk_menu_bar_size_request (GtkWidget      *widget,
   gint ipadding;
   guint border_width;
 
-  g_return_if_fail (GTK_IS_MENU_BAR (widget));
-  g_return_if_fail (requisition != NULL);
-
   requisition->width = 0;
   requisition->height = 0;
   



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