summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-25 15:13:25 +0200
committerStefano Karapetsas <[email protected]>2013-07-25 15:13:25 +0200
commita823c728f14e2600fbbcd6ad14e6305331e80bf2 (patch)
tree429b9f7992d41b518470e148e5f41d55cbf9b405 /src/caja-window.c
parenta4f91079a8a8dda83614148ac50e7ef7e162c9b1 (diff)
downloadcaja-a823c728f14e2600fbbcd6ad14e6305331e80bf2.tar.bz2
caja-a823c728f14e2600fbbcd6ad14e6305331e80bf2.tar.xz
src: Add GTK3/GDK3 support
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 782e2607..365c3696 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -189,10 +189,10 @@ caja_window_init (CajaWindow *window)
g_signal_connect_object (caja_signaller_get_current (), "popup_menu_changed",
G_CALLBACK (caja_window_load_extension_menus), window, G_CONNECT_SWAPPED);
+/* Keep the main event loop alive as long as the window exists */
#if GTK_CHECK_VERSION(3, 0, 0)
- gtk_quit_add_destroy (1, GTK_WIDGET (window));
-
- /* Keep the main event loop alive as long as the window exists */
+ /* FIXME: port to GtkApplication with GTK3 */
+ //gtk_quit_add_destroy (1, GTK_WIDGET (window));
caja_main_event_loop_register (GTK_WIDGET (window));
#else
gtk_quit_add_destroy (1, GTK_OBJECT (window));