summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/common/theme-thumbnail.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c
index ea371482..f5417ca1 100644
--- a/capplets/common/theme-thumbnail.c
+++ b/capplets/common/theme-thumbnail.c
@@ -145,9 +145,7 @@ static GdkPixmap* draw_window_on_pixbuf(GtkWidget* widget)
gtk_widget_hide(widget);
-#if GTK_CHECK_VERSION (3, 0, 0)
- return pixbuf;
-#else
+#if !GTK_CHECK_VERSION (3, 0, 0)
return pixmap;
#endif
}