[geany/geany-plugins] b8d4f5: Merge pull request #751 from LarsGit223/ScopeInvSignal

elextr git-noreply at xxxxx
Sun Oct 28 22:48:42 UTC 2018


Branch:      refs/heads/master
Author:      elextr <elextr at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 28 Oct 2018 22:48:42 UTC
Commit:      b8d4f57bafb8c16b495620f3aab84f4314ec78bb
             https://github.com/geany/geany-plugins/commit/b8d4f57bafb8c16b495620f3aab84f4314ec78bb

Log Message:
-----------
Merge pull request #751 from LarsGit223/ScopeInvSignal

scope: removed invalid signal 'project-before-save' and callback function


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

Modified: scope/src/scope.c
7 lines changed, 0 insertions(+), 7 deletions(-)
===================================================================
@@ -355,12 +355,6 @@ static void on_settings_save(G_GNUC_UNUSED GObject *obj, G_GNUC_UNUSED GKeyFile
 	schedule_settings_saved(TRUE);
 }
 
-static void on_project_before_save(G_GNUC_UNUSED GObject *obj, G_GNUC_UNUSED GKeyFile *keyfile,
-	G_GNUC_UNUSED gpointer gdata)
-{
-	schedule_settings_saved(FALSE);
-}
-
 static gboolean on_editor_notify(G_GNUC_UNUSED GObject *obj, GeanyEditor *editor,
 	SCNotification *nt, G_GNUC_UNUSED gpointer gdata)
 {
@@ -442,7 +436,6 @@ static const ScopeCallback scope_callbacks[] =
 	{ "document-filetype-set",    G_CALLBACK(on_document_filetype_set) },
 	{ "document-activate",        G_CALLBACK(on_document_activate) },
 	{ "document-save",            G_CALLBACK(on_document_activate) },
-	{ "project-before-save",      G_CALLBACK(on_project_before_save) },
 	{ "project-open",             G_CALLBACK(on_project_open) },
 	{ "project-close",            G_CALLBACK(on_project_close) },
 	{ "geany-startup-complete",   G_CALLBACK(on_geany_startup_complete) },



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