From 7b1c976007a9ea403835f4f671a39a6c657d8c89 Mon Sep 17 00:00:00 2001 From: Sylvan Mostert Date: Sat, 7 Sep 2019 19:13:15 -0400 Subject: [PATCH] updatechecker: remove duplicate config_file defn --- updatechecker/src/updatechecker.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/updatechecker/src/updatechecker.c b/updatechecker/src/updatechecker.c index 5a06596ad..9b2423725 100644 --- a/updatechecker/src/updatechecker.c +++ b/updatechecker/src/updatechecker.c @@ -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));