diff options
Diffstat (limited to 'src/eom-sidebar.c')
-rw-r--r-- | src/eom-sidebar.c | 6 |
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 |