mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.1.0714: unessesary #if lines in GTK code
Problem: Unessesary #if lines in GTK code. Solution: Remove the #if. (Ken Takata, closes #3785)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user