summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-13 15:17:05 +0300
committermonsta <[email protected]>2016-01-13 15:17:05 +0300
commitcd0afb06b414344410c5f3b3df05cc7373474579 (patch)
tree923ceddc89adf6d5e732bf9f6323b3a9ffd2c396 /capplets
parent3280ca9138736e95265ff97ae1b7c0d5e1a4b317 (diff)
downloadmate-control-center-cd0afb06b414344410c5f3b3df05cc7373474579.tar.bz2
mate-control-center-cd0afb06b414344410c5f3b3df05cc7373474579.tar.xz
common: don't return a value from void function (GTK+3 build only)
Diffstat (limited to 'capplets')
-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
}