summaryrefslogtreecommitdiff
path: root/src/caja-application.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-14 15:57:06 -0400
committerlukefromdc <[email protected]>2016-10-14 15:57:06 -0400
commit15a9e9a073a799341c18ace6b568e5317135056c (patch)
tree9772e7b2be68a30a6bc200f07bf288bf4e5bcc24 /src/caja-application.c
parentc27cc572f8f33bdfbbc3dfea8786d05a1818b910 (diff)
downloadcaja-15a9e9a073a799341c18ace6b568e5317135056c.tar.bz2
caja-15a9e9a073a799341c18ace6b568e5317135056c.tar.xz
Fix missed selector change for separating GTK3 and libunique build options
One selector was not updated in caja-location-bar.c to follow use or nonuse of libunique in GTK3 builds. Fixing this revealed need for a 3-way selector in one place in caja-application.c
Diffstat (limited to 'src/caja-application.c')
-rw-r--r--src/caja-application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index f469eccf..d3e90182 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -704,6 +704,8 @@ check_required_directories (CajaApplication *application)
#if ENABLE_LIBUNIQUE == (0)
gtk_application_add_window (GTK_APPLICATION (application),
GTK_WINDOW (dialog));
+#elif GTK_CHECK_VERSION (3, 0, 0)
+ caja_main_event_loop_register (GTK_WIDGET (dialog));
#else
caja_main_event_loop_register (GTK_OBJECT (dialog));
#endif