[geany/geany-plugins] 768e5a: Merge pull request #246 from scriptum/automark

Frank Lanitz git-noreply at xxxxx
Fri Jun 26 07:39:22 UTC 2015


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Fri, 26 Jun 2015 07:39:22 UTC
Commit:      768e5a5e3ab181587fbf86a48ea0c83c34c49dc8
             https://github.com/geany/geany-plugins/commit/768e5a5e3ab181587fbf86a48ea0c83c34c49dc8

Log Message:
-----------
Merge pull request #246 from scriptum/automark

Replace g_timeout_add with g_idle_add


Modified Paths:
--------------
    automark/src/automark.c

Modified: automark/src/automark.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -163,7 +163,7 @@ on_editor_notify(
 		/* if events are too intensive - remove old callback */
 		if (source_id)
 			g_source_remove(source_id);
-		source_id = g_timeout_add(150, automark, editor->document);
+		source_id = g_idle_add(automark, editor->document);
 	}
 	return FALSE;
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list