summaryrefslogtreecommitdiff
path: root/src/caja-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-main.h')
-rw-r--r--src/caja-main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/caja-main.h b/src/caja-main.h
index c3ddf82a..abb9e6a7 100644
--- a/src/caja-main.h
+++ b/src/caja-main.h
@@ -29,8 +29,12 @@
#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
+void caja_main_event_loop_register (GtkWidget *object);
+#else
void caja_main_event_loop_register (GtkObject *object);
-gboolean caja_main_is_event_loop_mainstay (GtkObject *object);
+#endif
+gboolean caja_main_is_event_loop_mainstay (GtkWidget *object);
void caja_main_event_loop_quit (gboolean explicit);
#endif /* CAJA_MAIN_H */