Commit c74c2878 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

overview: Move public functions past `_new`



As per coding style
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent d3a7b39b
......@@ -435,6 +435,13 @@ phosh_overview_init (PhoshOverview *self)
}
GtkWidget *
phosh_overview_new (void)
{
return g_object_new (PHOSH_TYPE_OVERVIEW, NULL);
}
void
phosh_overview_reset (PhoshOverview *self)
{
......@@ -446,10 +453,3 @@ phosh_overview_reset (PhoshOverview *self)
if (priv->activity)
gtk_widget_grab_focus (GTK_WIDGET (priv->activity));
}
GtkWidget *
phosh_overview_new (void)
{
return g_object_new (PHOSH_TYPE_OVERVIEW, NULL);
}
......@@ -12,5 +12,6 @@
G_DECLARE_FINAL_TYPE (PhoshOverview, phosh_overview, PHOSH, OVERVIEW, GtkBox)
void phosh_overview_reset (PhoshOverview *self);
GtkWidget * phosh_overview_new (void);
GtkWidget *phosh_overview_new (void);
void phosh_overview_reset (PhoshOverview *self);
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