Kaydet (Commit) 2e31c57b authored tarafından Enrico Tröger's avatar Enrico Tröger

Compile notebook_motion_notify_event_cb() only with GTK 2.6.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@543 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 82efaa62
......@@ -8,6 +8,8 @@
2006-07-08 Enrico Tröger <enrico.troeger@uvena.de>
* src/encodings.c: Made encoding descriptions translatable.
* src/notebook.c:
Compile notebook_motion_notify_event_cb() only with GTK 2.6.
2006-07-07 Enrico Tröger <enrico.troeger@uvena.de>
......
......@@ -27,7 +27,7 @@
#define GEANY_DND_NOTEBOOK_TAB_TYPE "geany_dnd_notebook_tab"
static const GtkTargetEntry drag_targets[] =
static const GtkTargetEntry drag_targets[] =
{
{GEANY_DND_NOTEBOOK_TAB_TYPE, GTK_TARGET_SAME_APP | GTK_TARGET_SAME_WIDGET, 0}
};
......@@ -82,6 +82,7 @@ void notebook_init()
}
#if ! GTK_CHECK_VERSION(2, 8, 0)
/* N.B. With GTK+2.6, we don't get notebook motion-notify-event for tab child
* widgets. */
static gboolean
......@@ -109,6 +110,7 @@ notebook_motion_notify_event_cb(GtkWidget *widget, GdkEventMotion *event,
}
return FALSE; //propagate event
}
#endif
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment