summaryrefslogtreecommitdiff
path: root/src/totem-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/totem-object.c')
-rw-r--r--src/totem-object.c58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index 08a933394..fe5a045aa 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -140,6 +140,35 @@ static int totem_table_signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE(TotemObject, totem_object, GTK_TYPE_APPLICATION)
+/**
+ * totem_object_plugins_init:
+ * @totem: a #TotemObject
+ *
+ * Initialises the plugin engine and activates all the
+ * enabled plugins.
+ **/
+static void
+totem_object_plugins_init (TotemObject *totem)
+{
+ if (totem->engine == NULL)
+ totem->engine = totem_plugins_engine_get_default (totem);
+}
+
+/**
+ * totem_object_plugins_shutdown:
+ * @totem: a #TotemObject
+ *
+ * Shuts down the plugin engine and deactivates all the
+ * plugins.
+ **/
+static void
+totem_object_plugins_shutdown (TotemObject *totem)
+{
+ if (totem->engine)
+ totem_plugins_engine_shut_down (totem->engine);
+ g_clear_object (&totem->engine);
+}
+
static void
totem_object_app_open (GApplication *application,
GFile **files,
@@ -589,35 +618,6 @@ totem_object_get_property (GObject *object,
}
/**
- * totem_object_plugins_init:
- * @totem: a #TotemObject
- *
- * Initialises the plugin engine and activates all the
- * enabled plugins.
- **/
-void
-totem_object_plugins_init (TotemObject *totem)
-{
- if (totem->engine == NULL)
- totem->engine = totem_plugins_engine_get_default (totem);
-}
-
-/**
- * totem_object_plugins_shutdown:
- * @totem: a #TotemObject
- *
- * Shuts down the plugin engine and deactivates all the
- * plugins.
- **/
-void
-totem_object_plugins_shutdown (TotemObject *totem)
-{
- if (totem->engine)
- totem_plugins_engine_shut_down (totem->engine);
- g_clear_object (&totem->engine);
-}
-
-/**
* totem_object_get_main_window:
* @totem: a #TotemObject
*