* src/gtkutil.c (xg_finish_scroll_bar_creation): Fix ifdefs
preventing x_window from being correctly set.
(xg_get_scroll_id_for_window): Ifdef out unused function.
return scroll_bar_width_for_theme * xg_get_scale (f);
}
-#if defined HAVE_PGTK || !defined HAVE_GTK3
+#ifndef HAVE_GTK3
/* Return the scrollbar id for X Window WID on display DPY.
Return -1 if WID not in id_to_widget. */
#endif
#endif
-#if !defined HAVE_GTK3 || !defined HAVE_GTK3
+#if defined HAVE_PGTK || !defined HAVE_GTK3
bar->x_window = scroll_id;
#endif
}