Commit 9a88c7e7 authored by Sébastien Lafargue's avatar Sébastien Lafargue
Browse files

glade: fix an unitialized return value

The return value is not used for now
but at least this will shut up the warning.
parent f4bef161
......@@ -147,7 +147,6 @@ gboolean
_gbp_glade_view_reload (GbpGladeView *self)
{
GladeProject *project;
gboolean ret;
g_return_val_if_fail (GBP_IS_GLADE_VIEW (self), FALSE);
g_return_val_if_fail (GLADE_IS_PROJECT (self->project), FALSE);
......@@ -172,9 +171,11 @@ _gbp_glade_view_reload (GbpGladeView *self)
{
gtk_widget_hide (GTK_WIDGET (self));
gtk_widget_show (GTK_WIDGET (self));
return TRUE;
}
return ret;
return FALSE;
}
gboolean
......
Markdown is supported
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