diff options
-rw-r--r-- | src/installer.nsi | 6 | ||||
-rw-r--r-- | src/trg-main-window.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/installer.nsi b/src/installer.nsi index c98c505..97691f9 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -153,6 +153,8 @@ Section $(NAME_SecGlibGtkEtc) SecGlibGtkEtc File "..\..\gtk-2.24-win32-bin\bin\libpangowin32-1.0-0.dll"
File "..\..\gtk-2.24-win32-bin\bin\libpng14-14.dll"
File "..\..\gtk-2.24-win32-bin\bin\zlib1.dll"
+ File "..\..\gtk-2.24-win32-bin\bin\gspawn-win32-helper-console.exe"
+ File "..\..\gtk-2.24-win32-bin\bin\gspawn-win32-helper.exe"
SetOutPath $INSTDIR\lib\gtk-2.0\2.10.0\engines
@@ -248,7 +250,9 @@ Section "Uninstall" Delete "$INSTDIR\bin\libpangoft2-1.0-0.dll"
Delete "$INSTDIR\bin\libpangowin32-1.0-0.dll"
Delete "$INSTDIR\bin\libpng14-14.dll"
- Delete "$INSTDIR\bin\zlib1.dll"
+ Delete "$INSTDIR\bin\zlib1.dll"
+ Delete "$INSTDIR\bin\gspawn-win32-helper-console.exe"
+ Delete "$INSTDIR\bin\gspawn-win32-helper.exe"
Delete "$INSTDIR\lib\gtk-2.0\2.10.0\engines\libpixmap.dll"
Delete "$INSTDIR\lib\gtk-2.0\2.10.0\engines\libwimp.dll"
Delete "$INSTDIR\lib\gtk-2.0\modules\libgail.dll"
diff --git a/src/trg-main-window.c b/src/trg-main-window.c index e67577f..a14e163 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -1148,7 +1148,6 @@ void trg_main_window_conn_changed(TrgMainWindow * win, gboolean connected) { gtk_widget_set_sensitive(GTK_WIDGET(priv->filesTreeView), connected); gtk_widget_set_sensitive(GTK_WIDGET(priv->trackersTreeView), connected); gtk_widget_set_sensitive(GTK_WIDGET(priv->genDetails), connected); - ; if (!connected) { trg_main_window_torrent_scrub(win); @@ -1475,6 +1474,7 @@ static void exec_cmd_cb(GtkWidget *w, gpointer data) g_shell_parse_argv(cmd_line, NULL, &argv, NULL); g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &cmd_error ); + g_strfreev( argv ); g_free( cmd_line ); |