summaryrefslogtreecommitdiff
path: root/src/caja-query-editor.h
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-21 20:35:13 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-21 20:35:13 +0100
commitcc6a1d11d8903c3051d0af400559679cc5b4aed6 (patch)
tree14397b19f92730f20711c95ee550bab6d6fcdb99 /src/caja-query-editor.h
parentcb297b4c850e5c3149fad22fabcd7b18d05bd884 (diff)
downloadcaja-cc6a1d11d8903c3051d0af400559679cc5b4aed6.tar.bz2
caja-cc6a1d11d8903c3051d0af400559679cc5b4aed6.tar.xz
GTK3 query-editor: fix deprecated GTK_TYPE_VBOX usage
Diffstat (limited to 'src/caja-query-editor.h')
-rw-r--r--src/caja-query-editor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-query-editor.h b/src/caja-query-editor.h
index 8a7f71b9..2a443624 100644
--- a/src/caja-query-editor.h
+++ b/src/caja-query-editor.h
@@ -45,13 +45,21 @@ typedef struct CajaQueryEditorDetails CajaQueryEditorDetails;
typedef struct CajaQueryEditor
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBox parent;
+#else
GtkVBox parent;
+#endif
CajaQueryEditorDetails *details;
} CajaQueryEditor;
typedef struct
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBoxClass parent_class;
+#else
GtkVBoxClass parent_class;
+#endif
void (* changed) (CajaQueryEditor *editor,
CajaQuery *query,