summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-04 20:27:23 +0300
committermonsta <[email protected]>2016-01-04 20:27:23 +0300
commit98576d25e966aded1c3f67c41c146e15e4827ced (patch)
tree5cb99b0e71fcb560f70711676629dc14cd653c0e /mate-panel/panel-background.c
parent49326e0842e21504170957b07debde3bd2906b0c (diff)
downloadmate-panel-98576d25e966aded1c3f67c41c146e15e4827ced.tar.bz2
mate-panel-98576d25e966aded1c3f67c41c146e15e4827ced.tar.xz
background: normalize usage of GTK_CHECK_VERSION
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r--mate-panel/panel-background.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index 628ae244..4a899f4a 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -154,8 +154,6 @@ panel_background_prepare (PanelBackground *background)
effective_type = panel_background_effective_type (background);
-
-
switch (effective_type) {
case PANEL_BACK_NONE:
#if GTK_CHECK_VERSION (3, 0, 0)
@@ -230,7 +228,6 @@ panel_background_prepare (PanelBackground *background)
* make sure that all drawing has been completed before
* the applet looks at the pixmap. */
#if GTK_CHECK_VERSION (3, 0, 0)
-
gdk_display_sync (gdk_window_get_display (background->window));
#else
gdk_display_sync (gdk_drawable_get_display (background->window));