[geany/geany-plugins] b08d76: git-ui: Avoid possible removal of non-existent GSource

Colomban Wendling git-noreply at xxxxx
Wed Feb 18 08:38:06 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 28 Dec 2014 16:17:08 UTC
Commit:      b08d76bd920559183fe1082a5feae82cd472f233
             https://github.com/geany/geany-plugins/commit/b08d76bd920559183fe1082a5feae82cd472f233

Log Message:
-----------
git-ui: Avoid possible removal of non-existent GSource


Modified Paths:
--------------
    git-ui/src/ggu-plugin.c

Modified: git-ui/src/ggu-plugin.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -642,6 +642,7 @@ update_diff_push (GeanyDocument *doc)
   
   if (G_source_id) {
     g_source_remove (G_source_id);
+    G_source_id = 0;
   }
   if (doc->real_path) {
     G_source_id = g_timeout_add_full (G_PRIORITY_LOW, 100, update_diff_idle,



--------------
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