summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-05-25 13:17:16 +0300
committermonsta <[email protected]>2015-05-25 13:17:16 +0300
commitbfcd64e90cf71537b1917472f3a58f30c826edbf (patch)
tree853e39fecaf0a8d48da1132bd87982459c447ab0 /mate-panel/panel-background.h
parenta5c3193c5a02676a8312c04e30735d974ddf1b20 (diff)
parent4da202648feb8c82217852646f0f4c17bba9fb29 (diff)
downloadmate-panel-bfcd64e90cf71537b1917472f3a58f30c826edbf.tar.bz2
mate-panel-bfcd64e90cf71537b1917472f3a58f30c826edbf.tar.xz
Merge pull request #289 from rilian-la-te/simplify_image
Remove change_background_for_widget from GTK3 build (it is useless.)
Diffstat (limited to 'mate-panel/panel-background.h')
-rw-r--r--mate-panel/panel-background.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h
index 6c36873b..d69f529c 100644
--- a/mate-panel/panel-background.h
+++ b/mate-panel/panel-background.h
@@ -158,10 +158,11 @@ const GdkPixmap *panel_background_get_pixmap (PanelBackground *background);
PanelBackgroundType
panel_background_effective_type (PanelBackground *background);
+#if !GTK_CHECK_VERSION (3, 0, 0)
void panel_background_change_background_on_widget (PanelBackground *background,
GtkWidget *widget);
-#if GTK_CHECK_VERSION (3, 0, 0)
+#else
void panel_background_apply_css(GtkWidget* widget);
#endif