summaryrefslogtreecommitdiff
path: root/src/eom-thumb-nav.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-01 20:06:15 +0200
committerinfirit <[email protected]>2015-09-06 13:08:31 +0200
commit0ea8ddb0d7f34a22da6467fb4688b321735c601d (patch)
tree1ce4aefcdfe761c2f813ab315539e68ce71d07c3 /src/eom-thumb-nav.h
parent35e40d42b54aab81f37323e4f7830318f9db6bf1 (diff)
downloadeom-0ea8ddb0d7f34a22da6467fb4688b321735c601d.tar.bz2
eom-0ea8ddb0d7f34a22da6467fb4688b321735c601d.tar.xz
Gtk3: Remove deprecated GtkVBox/GtkHBox usage
The GtkHBox and GtkVBox have been deprecated by now. Also be consistent with the other properties declarations and use PROP_0 instead of PROP = 1. taken from: https://git.gnome.org/browse/eog/commit/?id=81cb068
Diffstat (limited to 'src/eom-thumb-nav.h')
-rw-r--r--src/eom-thumb-nav.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eom-thumb-nav.h b/src/eom-thumb-nav.h
index 89e8785..ab376a5 100644
--- a/src/eom-thumb-nav.h
+++ b/src/eom-thumb-nav.h
@@ -49,13 +49,21 @@ typedef enum {
} EomThumbNavMode;
struct _EomThumbNav {
+#if GTK_CHECK_VERSION (3, 2, 0)
+ GtkBox base_instance;
+#else
GtkHBox base_instance;
+#endif
EomThumbNavPrivate *priv;
};
struct _EomThumbNavClass {
+#if GTK_CHECK_VERSION (3, 2, 0)
+ GtkBoxClass parent_class;
+#else
GtkHBoxClass parent_class;
+#endif
};
GType eom_thumb_nav_get_type (void) G_GNUC_CONST;