[geany/geany-plugins] c044a7: Merge pull request #903 from smostertdev/updatechecker01

Frank Lanitz git-noreply at xxxxx
Sun Sep 8 08:38:49 UTC 2019


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 08 Sep 2019 08:38:49 UTC
Commit:      c044a7ae9c66fdc5c18e8fc7c13150bb926fe0ff
             https://github.com/geany/geany-plugins/commit/c044a7ae9c66fdc5c18e8fc7c13150bb926fe0ff

Log Message:
-----------
Merge pull request #903 from smostertdev/updatechecker01

updatechecker: remove duplicate config_file string allocation


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

Modified: updatechecker/src/updatechecker.c
4 lines changed, 0 insertions(+), 4 deletions(-)
===================================================================
@@ -245,10 +245,6 @@ on_configure_response(G_GNUC_UNUSED GtkDialog *dialog, gint response,
         gchar *data;
         gchar *config_dir = g_path_get_dirname(config_file);
 
-        config_file = g_strconcat(geany->app->configdir,
-            G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
-            "updatechecker", G_DIR_SEPARATOR_S, "general.conf", NULL);
-
         /* Crabbing options that has been set */
         check_on_startup =
             gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(config_widgets.run_on_startup));



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