summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-08-07 22:41:45 +0200
committerraveit65 <[email protected]>2018-08-07 22:58:55 +0200
commit87a2f26f7b3b66184d130a8d4400fbbbf620a902 (patch)
tree7265142debf2956f923b6c8c27a29012918f8451 /applets/wncklet
parent4bff2130a7893940b65b65c73fded76394ee768b (diff)
downloadmate-panel-87a2f26f7b3b66184d130a8d4400fbbbf620a902.tar.bz2
mate-panel-87a2f26f7b3b66184d130a8d4400fbbbf620a902.tar.xz
Change GTK_CHECK_VERSION to match next gtk+ release
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/window-list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 35b87c74..b7097ee6 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -42,7 +42,7 @@ typedef struct {
GtkOrientation orientation;
int size;
-#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 22, 31)
+#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 23, 0)
gboolean needs_hints;
#endif
@@ -322,7 +322,7 @@ static void applet_size_allocate(GtkWidget *widget, GtkAllocation *allocation, T
g_assert(len % 2 == 0);
-#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 22, 31)
+#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 23, 0)
/* HACK: When loading the WnckTasklist initially, it reports size hints as though there were
* no elements in the Tasklist. This causes a rendering issue when built out-of-process in
* HiDPI displays. We keep a flag to skip size hinting until WnckTasklist has something to
@@ -427,7 +427,7 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
tasklist->size = mate_panel_applet_get_size(applet);
-#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 22, 31)
+#if !defined(WNCKLET_INPROCESS) && !GTK_CHECK_VERSION (3, 23, 0)
tasklist->needs_hints = FALSE;
#endif