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
34427f75
Commit
34427f75
authored
Dec 15, 2010
by
Tristan Van Berkom
Browse files
Minor code cleanup in glade-command.c
parent
8c711609
Changes
1
Hide whitespace changes
Inline
Side-by-side
gladeui/glade-command.c
View file @
34427f75
...
...
@@ -1735,12 +1735,11 @@ glade_command_create(GladeWidgetAdaptor *adaptor, GladeWidget *parent, GladePlac
return
NULL
;
}
widgets
=
g_list_prepend
(
widgets
,
widget
);
glade_command_push_group
(
_
(
"Create %s"
),
g_list_length
(
widgets
)
==
1
?
widget
->
name
:
_
(
"multiple"
)
);
glade_command_push_group
(
_
(
"Create %s"
),
widget
->
name
);
glade_command_add
(
widgets
,
parent
,
placeholder
,
FALSE
);
glade_command_pop_group
();
if
(
widgets
)
g_list_free
(
widgets
);
g_list_free
(
widgets
);
return
widget
;
}
...
...
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