summaryrefslogtreecommitdiff
path: root/src/eom-sidebar.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-29 23:07:31 +0200
committerinfirit <[email protected]>2014-07-29 23:15:21 +0200
commite4d01d7b58101e35461f5251f842bfd204a4be29 (patch)
treec0a86e28dc5f2c2ff6923037b8cee48f3d3b5bd5 /src/eom-sidebar.c
parentf8e85177acadfa4d1cfea8ff0987efb12927f97e (diff)
downloadeom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.bz2
eom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.xz
all: Fix a load of warnings
Partly based on eog commit 3859553433838e97367e7678f9da4ba2bcc7f973 From Cosimo Cecchi <[email protected]>
Diffstat (limited to 'src/eom-sidebar.c')
-rw-r--r--src/eom-sidebar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eom-sidebar.c b/src/eom-sidebar.c
index a8a3e40..0818bd0 100644
--- a/src/eom-sidebar.c
+++ b/src/eom-sidebar.c
@@ -188,14 +188,16 @@ static void
eom_sidebar_class_init (EomSidebarClass *eom_sidebar_class)
{
GObjectClass *g_object_class;
+#if GTK_CHECK_VERSION(3, 0, 0)
GtkWidgetClass *widget_class;
-#if !GTK_CHECK_VERSION(3, 0, 0)
+#else
GtkObjectClass *gtk_object_klass;
#endif
g_object_class = G_OBJECT_CLASS (eom_sidebar_class);
+#if GTK_CHECK_VERSION(3, 0, 0)
widget_class = GTK_WIDGET_CLASS (eom_sidebar_class);
-#if !GTK_CHECK_VERSION(3, 0, 0)
+#else
gtk_object_klass = GTK_OBJECT_CLASS (eom_sidebar_class);
#endif