summaryrefslogtreecommitdiff
path: root/src/eom-print-image-setup.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-23 20:28:39 +0200
committerinfirit <[email protected]>2015-08-31 22:35:16 +0200
commit9d785e0f9ea5e08bd9bf0aac5edae3fe51482e31 (patch)
tree808e2e82cec9b4b8b6329a8a548fe7520aa60fd8 /src/eom-print-image-setup.h
parent2d5db548f1362d9d485c726b6cf7a05f69c04257 (diff)
downloadeom-9d785e0f9ea5e08bd9bf0aac5edae3fe51482e31.tar.bz2
eom-9d785e0f9ea5e08bd9bf0aac5edae3fe51482e31.tar.xz
GTK3: EomPrintImageSetup, Derive from GtkTable instead of GtkGrid
GtkTable has been deprecated in favor of GtkGrid. taken from: https://git.gnome.org/browse/eog/commit/?id=7fd3bcf
Diffstat (limited to 'src/eom-print-image-setup.h')
-rw-r--r--src/eom-print-image-setup.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eom-print-image-setup.h b/src/eom-print-image-setup.h
index 8b8e3e6..6915fcf 100644
--- a/src/eom-print-image-setup.h
+++ b/src/eom-print-image-setup.h
@@ -38,13 +38,21 @@ typedef struct _EomPrintImageSetupPrivate EomPrintImageSetupPrivate;
#define EOM_PRINT_IMAGE_SETUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EOM_TYPE_PRINT_IMAGE_SETUP, EomPrintImageSetupClass))
struct _EomPrintImageSetup {
+#if GTK_CHECK_VERSION (3, 4, 0)
+ GtkGrid parent_instance;
+#else
GtkTable parent_instance;
+#endif
EomPrintImageSetupPrivate *priv;
};
struct _EomPrintImageSetupClass {
+#if GTK_CHECK_VERSION (3, 4, 0)
+ GtkGridClass parent_class;
+#else
GtkTableClass parent_class;
+#endif
};
G_GNUC_INTERNAL