levelbar: 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:22:29 +02:00
parent 6be0603215
commit fd527691a8

View File

@ -545,10 +545,8 @@ gtk_level_bar_get_preferred_width (GtkWidget *widget,
else
width += block_width;
if (minimum)
*minimum = width;
if (natural)
*natural = width;
*minimum = width;
*natural = width;
}
static void
@ -572,10 +570,8 @@ gtk_level_bar_get_preferred_height (GtkWidget *widget,
else
height += block_height;
if (minimum)
*minimum = height;
if (natural)
*natural = height;
*minimum = height;
*natural = height;
}
static void