Commit c25a2225 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Simplified a return_if_fail() statement

parent 6a7a0a4f
......@@ -1398,7 +1398,7 @@ glade_widget_dup_internal (GladeWidget *main_target,
gchar *child_type;
GList *l;
g_return_val_if_fail (template_widget != NULL && GLADE_IS_WIDGET(template_widget), NULL);
g_return_val_if_fail (GLADE_IS_WIDGET (template_widget), NULL);
g_return_val_if_fail (parent == NULL || GLADE_IS_WIDGET (parent), NULL);
/* Dont actually duplicate internal widgets, but recurse through them anyway. */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment