summaryrefslogtreecommitdiff
path: root/typing-break/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'typing-break/main.c')
-rw-r--r--typing-break/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/typing-break/main.c b/typing-break/main.c
index 9186915b..b0b50405 100644
--- a/typing-break/main.c
+++ b/typing-break/main.c
@@ -35,11 +35,7 @@ gboolean debug = FALSE;
static gboolean
have_tray (void)
{
-#if GTK_CHECK_VERSION (3, 0, 0)
Screen *xscreen = DefaultScreenOfDisplay (gdk_x11_display_get_xdisplay(gdk_display_get_default()));
-#else
- Screen *xscreen = DefaultScreenOfDisplay (gdk_display);
-#endif
Atom selection_atom;
char *selection_atom_name;