[geany/geany-plugins] 6cc750: scope: removed an unused variable
Dimitar Zhekov
git-noreply at xxxxx
Fri Oct 2 16:18:43 UTC 2015
Branch: refs/heads/master
Author: Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer: Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date: Fri, 02 Oct 2015 16:18:43 UTC
Commit: 6cc750d769d69461e86496c451f71eea05e0f44d
https://github.com/geany/geany-plugins/commit/6cc750d769d69461e86496c451f71eea05e0f44d
Log Message:
-----------
scope: removed an unused variable
Modified Paths:
--------------
scope/src/scope.c
Modified: scope/src/scope.c
5 lines changed, 1 insertions(+), 4 deletions(-)
===================================================================
@@ -312,8 +312,6 @@ static void on_document_open(G_GNUC_UNUSED GObject *obj, GeanyDocument *doc,
threads_mark(doc);
}
-static guint saved_id = 0;
-
static gboolean settings_saved(gpointer gdata)
{
guint i;
@@ -330,7 +328,6 @@ static gboolean settings_saved(gpointer gdata)
conterm_apply_config();
}
- saved_id = 0;
return FALSE;
}
@@ -338,7 +335,7 @@ static void schedule_settings_saved(gboolean conterm)
{
guint i;
- saved_id = plugin_idle_add(geany_plugin, settings_saved, GINT_TO_POINTER(conterm));
+ plugin_idle_add(geany_plugin, settings_saved, GINT_TO_POINTER(conterm));
foreach_document(i)
{
--------------
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