SF.net SVN: geany: [1262] trunk/src/sci_cb.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Feb 8 16:22:23 UTC 2007


Revision: 1262
          http://svn.sourceforge.net/geany/?rev=1262&view=rev
Author:   ntrel
Date:     2007-02-08 08:22:23 -0800 (Thu, 08 Feb 2007)

Log Message:
-----------
Remove dead code for gdk_window_scroll warning.

Modified Paths:
--------------
    trunk/src/sci_cb.c

Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c	2007-02-08 13:12:48 UTC (rev 1261)
+++ trunk/src/sci_cb.c	2007-02-08 16:22:23 UTC (rev 1262)
@@ -2092,8 +2092,7 @@
 	GtkWidget *wid = GTK_WIDGET(sci);
 
 	if (! wid->window || ! gdk_window_is_viewable(wid->window))
-		return;
-	//if (GTK_WIDGET(sci)->allocation.height <= 1) return;	// try to prevent gdk_window_scroll warning
+		return;	// prevent gdk_window_scroll warning
 
 	if (line == -1)
 		line = sci_get_current_line(sci, -1);


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