diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-14 16:33:45 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-03-14 16:33:45 +0100 |
commit | 4ef1111df86f851bfb2be4c440f9e08de7efa64e (patch) | |
tree | c098edb34a43bf7fe89e7e54394f19f49d841ddd /src | |
parent | 681d103c928a3bc2788e9f6c5c973e978c72eaeb (diff) | |
download | totem-4ef1111df86f851bfb2be4c440f9e08de7efa64e.tar.gz |
properties: Make _view_set_location() private
As it's only used internally.
Diffstat (limited to 'src')
-rw-r--r-- | src/totem-properties-view.c | 27 | ||||
-rw-r--r-- | src/totem-properties-view.h | 2 |
2 files changed, 13 insertions, 16 deletions
diff --git a/src/totem-properties-view.c b/src/totem-properties-view.c index 86a22f11d..5a24dcdf2 100644 --- a/src/totem-properties-view.c +++ b/src/totem-properties-view.c @@ -344,20 +344,7 @@ totem_properties_view_finalize (GObject *object) G_OBJECT_CLASS (parent_class)->finalize (object); } -GtkWidget * -totem_properties_view_new (const char *location, GtkWidget *label) -{ - TotemPropertiesView *self; - - self = g_object_new (TOTEM_TYPE_PROPERTIES_VIEW, NULL); - g_object_ref (label); - self->priv->label = label; - totem_properties_view_set_location (self, location); - - return GTK_WIDGET (self); -} - -void +static void totem_properties_view_set_location (TotemPropertiesView *props, const char *location) { @@ -378,3 +365,15 @@ totem_properties_view_set_location (TotemPropertiesView *props, } } +GtkWidget * +totem_properties_view_new (const char *location, GtkWidget *label) +{ + TotemPropertiesView *self; + + self = g_object_new (TOTEM_TYPE_PROPERTIES_VIEW, NULL); + g_object_ref (label); + self->priv->label = label; + totem_properties_view_set_location (self, location); + + return GTK_WIDGET (self); +} diff --git a/src/totem-properties-view.h b/src/totem-properties-view.h index 7f75bbbdd..6b0a9f2a4 100644 --- a/src/totem-properties-view.h +++ b/src/totem-properties-view.h @@ -53,7 +53,5 @@ void totem_properties_view_register_type (GTypeModule *module); GtkWidget *totem_properties_view_new (const char *location, GtkWidget *label); -void totem_properties_view_set_location (TotemPropertiesView *view, - const char *location); #endif /* TOTEM_PROPERTIES_VIEW_H */ |