[geany/geany-plugins] c98fb3: scope: removed invalid signal 'project-before-save' and callback function

Lars Paulsen git-noreply at xxxxx
Sun Oct 28 22:48:47 UTC 2018


Branch:      refs/heads/master
Author:      Lars Paulsen <lars_paulsen at web.de>
Committer:   Lars Paulsen <lars_paulsen at web.de>
Date:        Tue, 05 Jun 2018 17:35:02 UTC
Commit:      c98fb3fa2f11e95b4981f7e0195964f2e577ce77
             https://github.com/geany/geany-plugins/commit/c98fb3fa2f11e95b4981f7e0195964f2e577ce77

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

This prevents a debug message like "signal 'project-before-save' is invalid for instance
'0xd7da10' of type 'GeanyObject'" being generated on loading the scope plugin.


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

Modified: scope/src/scope.c
7 lines changed, 0 insertions(+), 7 deletions(-)
===================================================================
@@ -351,12 +351,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)
 {
@@ -438,7 +432,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