aboutsummaryrefslogtreecommitdiffstats
path: root/src/camorama-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/camorama-window.c')
-rw-r--r--src/camorama-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camorama-window.c b/src/camorama-window.c
index 7ea6006..0bb830e 100644
--- a/src/camorama-window.c
+++ b/src/camorama-window.c
@@ -183,7 +183,9 @@ void load_interface(cam_t *cam)
"main_window"));
GtkTreeView *treeview;
+#if GTK_MAJOR_VERSION >= 3
gtk_application_add_window(cam->app, GTK_WINDOW(window));
+#endif
menu_item_filter_type = g_quark_from_static_string("camorama-menu-item-filter-type");

Privacy Policy