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
b25ee612
Commit
b25ee612
authored
Sep 06, 2012
by
Juan Pablo Ugarte
Browse files
Fixed runtime warning on GladeBaseEditor and GladeSignalEditor dispose methods
parent
8c7cd1a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
gladeui/glade-base-editor.c
View file @
b25ee612
...
...
@@ -308,8 +308,8 @@ static gboolean
glade_base_editor_get_child_selected
(
GladeBaseEditor
*
e
,
GtkTreeIter
*
iter
)
{
GtkTreeSelection
*
sel
=
gtk_tree_view_get_selection
(
GTK_TREE_VIEW
(
e
->
priv
->
treeview
));
return
gtk_tree_selection_get_selected
(
sel
,
NULL
,
iter
);
gtk_tree_view_get_selection
(
GTK_TREE_VIEW
(
e
->
priv
->
treeview
));
return
(
sel
)
?
gtk_tree_selection_get_selected
(
sel
,
NULL
,
iter
)
:
FALSE
;
}
/* Forward declaration for glade_base_editor_project_widget_name_changed */
...
...
gladeui/glade-signal-editor.c
View file @
b25ee612
...
...
@@ -714,8 +714,8 @@ glade_signal_editor_dispose (GObject *object)
{
GladeSignalEditorPrivate
*
priv
=
GLADE_SIGNAL_EDITOR_GET_PRIVATE
(
object
);
g_object
_unref
(
priv
->
detail_store
);
g_object
_unref
(
priv
->
handler_store
);
g_
clear_
object
(
&
priv
->
detail_store
);
g_
clear_
object
(
&
priv
->
handler_store
);
G_OBJECT_CLASS
(
glade_signal_editor_parent_class
)
->
dispose
(
object
);
}
...
...
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