summarylogtreecommitdiffstats
path: root/crit3.patch
blob: 40b630b9026c3f952d6cdaf30281760204532096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/src/exm-window.c b/src/exm-window.c
index ade4ffd..04b5df1 100644
--- a/src/exm-window.c
+++ b/src/exm-window.c
@@ -22,6 +22,7 @@
 #include "exm-browse-page.h"
 #include "exm-installed-page.h"
 #include "exm-detail-view.h"
+#include "exm-screenshot-view.h"
 #include "exm-upgrade-assistant.h"
 #include "exm-error-dialog.h"

@@ -397,6 +398,11 @@ do_version_check (ExmWindow *self)
 static void
 exm_window_init (ExmWindow *self)
 {
+    g_type_ensure (EXM_TYPE_INSTALLED_PAGE);
+    g_type_ensure (EXM_TYPE_BROWSE_PAGE);
+    g_type_ensure (EXM_TYPE_DETAIL_VIEW);
+    g_type_ensure (EXM_TYPE_SCREENSHOT_VIEW);
+
     gtk_widget_init_template (GTK_WIDGET (self));

     if (strstr (APP_ID, ".Devel") != NULL) {