SF.net SVN: geany: [543] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jul 8 18:23:26 UTC 2006


Revision: 543
Author:   eht16
Date:     2006-07-08 11:23:20 -0700 (Sat, 08 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=543&view=rev

Log Message:
-----------
Compile notebook_motion_notify_event_cb() only with GTK 2.6.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/notebook.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-07-08 17:37:41 UTC (rev 542)
+++ trunk/ChangeLog	2006-07-08 18:23:20 UTC (rev 543)
@@ -8,6 +8,8 @@
 2006-07-08  Enrico Tröger  <enrico.troeger at 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 at uvena.de>

Modified: trunk/src/notebook.c
===================================================================
--- trunk/src/notebook.c	2006-07-08 17:37:41 UTC (rev 542)
+++ trunk/src/notebook.c	2006-07-08 18:23:20 UTC (rev 543)
@@ -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 @@
 }
 
 
+#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 @@
 	}
 	return FALSE; //propagate event
 }
+#endif
 
 
 static gboolean


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list