summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-04-30 05:50:17 +0200
committerBenjamin Otte <otte@redhat.com>2011-05-01 04:44:56 +0200
commitd6fbbe159f68130b5cc534e61476226f015ed718 (patch)
treeacb4122abe3bee16cdb0b2458b16026456215e01 /gtk/gtkmenubar.c
parent62e6bc7c34aa77958cc77929a714ff4770bdde20 (diff)
downloadgtk+-d6fbbe159f68130b5cc534e61476226f015ed718.tar.gz
menubar: Remove unnecessary return_if_fail() in vfuncs
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index db84ed369d..6af235b98d 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;