eventbox: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.
This commit is contained in:
Benjamin Otte 2014-04-30 09:21:54 +02:00
parent d7a3e67025
commit 6be0603215

View File

@ -500,10 +500,7 @@ gtk_event_box_get_preferred_width (GtkWidget *widget,
GtkBin *bin = GTK_BIN (widget);
GtkWidget *child;
if (minimum)
*minimum = 0;
if (natural)
*natural = 0;
child = gtk_bin_get_child (bin);
@ -522,10 +519,7 @@ gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
GtkBin *bin = GTK_BIN (widget);
GtkWidget *child;
if (minimum)
*minimum = 0;
if (natural)
*natural = 0;
if (minimum_baseline)