summaryrefslogtreecommitdiffstats
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-10 22:56:30 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-10 22:56:30 +0100
commitc951522943fc7c1eedaa707d2fa06da5ca17545a (patch)
treee33897cbf796757c8935488dfc458caec28adece /src/gui_beval.c
parent24877cf22c59acefc69c33d8368841a149135fed (diff)
patch 8.1.0714: unessesary #if lines in GTK codev8.1.0714
Problem: Unessesary #if lines in GTK code. Solution: Remove the #if. (Ken Takata, closes #3785)
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index 8b90362d79..b3d8e6cf70 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -60,11 +60,7 @@ static gint target_event_cb(GtkWidget *, GdkEvent *, gpointer);
static gint mainwin_event_cb(GtkWidget *, GdkEvent *, gpointer);
static void pointer_event(BalloonEval *, int, int, unsigned);
static void key_event(BalloonEval *, unsigned, int);
-# if GTK_CHECK_VERSION(3,0,0)
static gboolean timeout_cb(gpointer);
-# else
-static gint timeout_cb(gpointer);
-# endif
# if GTK_CHECK_VERSION(3,0,0)
static gboolean balloon_draw_event_cb (GtkWidget *, cairo_t *, gpointer);
# else
@@ -444,11 +440,7 @@ key_event(BalloonEval *beval, unsigned keyval, int is_keypress)
cancelBalloon(beval);
}
-# if GTK_CHECK_VERSION(3,0,0)
static gboolean
-# else
- static gint
-# endif
timeout_cb(gpointer data)
{
BalloonEval *beval = (BalloonEval *)data;