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

app-grid: Move public functions past `_new`



As per conding style.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent c74c2878
......@@ -400,6 +400,13 @@ phosh_app_grid_class_init (PhoshAppGridClass *klass)
}
GtkWidget *
phosh_app_grid_new (void)
{
return g_object_new (PHOSH_TYPE_APP_GRID, NULL);
}
void
phosh_app_grid_reset (PhoshAppGrid *self)
{
......@@ -416,10 +423,3 @@ phosh_app_grid_reset (PhoshAppGrid *self)
gtk_entry_set_text (GTK_ENTRY (priv->search), "");
g_clear_pointer (&priv->search_string, g_free);
}
GtkWidget *
phosh_app_grid_new (void)
{
return g_object_new (PHOSH_TYPE_APP_GRID, NULL);
}
......@@ -21,7 +21,7 @@ struct _PhoshAppGridClass
GtkBoxClass parent_class;
};
void phosh_app_grid_reset (PhoshAppGrid *self);
GtkWidget *phosh_app_grid_new (void);
void phosh_app_grid_reset (PhoshAppGrid *self);
G_END_DECLS
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