mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
menubar: Remove unnecessary return_if_fail() in vfuncs
This commit is contained in:
parent
62e6bc7c34
commit
d6fbbe159f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user