summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2012-08-12 16:35:46 +0200
committerraveit65 <[email protected]>2018-07-17 21:53:38 +0200
commita3c97eb293bfff825c43bd10d5584ae5a20f5495 (patch)
tree182bf7d6d551653c00b2e376bb7d9b4ec1f6cfac /src/eom-window.c
parentbb3b0c0a009cbf5f699a37c656b43bdc5a12b7b0 (diff)
downloadeom-a3c97eb293bfff825c43bd10d5584ae5a20f5495.tar.bz2
eom-a3c97eb293bfff825c43bd10d5584ae5a20f5495.tar.xz
EomApplication: Make most members private
This allows plugin usage without installing toolbar editor headers. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/e647078
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 1ac7365..787c116 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -44,6 +44,7 @@
#include "eom-print.h"
#include "eom-error-message-area.h"
#include "eom-application.h"
+#include "eom-application-internal.h"
#include "eom-thumb-nav.h"
#include "eom-config-keys.h"
#include "eom-job-queue.h"
@@ -4664,12 +4665,12 @@ eom_window_dispose (GObject *object)
window = EOM_WINDOW (object);
priv = window->priv;
- peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->plugin_engine));
+ peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->priv->plugin_engine));
if (priv->extensions != NULL) {
g_object_unref (priv->extensions);
priv->extensions = NULL;
- peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->plugin_engine));
+ peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->priv->plugin_engine));
}
if (priv->page_setup != NULL) {
@@ -4789,7 +4790,7 @@ eom_window_dispose (GObject *object)
priv->last_save_as_folder = NULL;
}
- peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->plugin_engine));
+ peas_engine_garbage_collect (PEAS_ENGINE (EOM_APP->priv->plugin_engine));
G_OBJECT_CLASS (eom_window_parent_class)->dispose (object);
}
@@ -5127,7 +5128,7 @@ eom_window_constructor (GType type,
eom_window_construct_ui (EOM_WINDOW (object));
- priv->extensions = peas_extension_set_new (PEAS_ENGINE (EOM_APP->plugin_engine),
+ priv->extensions = peas_extension_set_new (PEAS_ENGINE (EOM_APP->priv->plugin_engine),
EOM_TYPE_WINDOW_ACTIVATABLE,
"window",
EOM_WINDOW (object), NULL);