Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ZenWalker
Glade
Commits
c25a2225
Commit
c25a2225
authored
Aug 29, 2010
by
Tristan Van Berkom
Browse files
Simplified a return_if_fail() statement
parent
6a7a0a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
gladeui/glade-widget.c
View file @
c25a2225
...
...
@@ -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. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment