summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-30 13:52:47 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-30 13:52:47 +0000
commitb3f48b4a6f75ade6030bd3a5dced74fff31f13d4 (patch)
tree871a9d3302f842fa354eb9fc0c77e3dd303d74ea /src
parentdfbdc07dfc73bf67f2b78bcb1a4ce4ec95539fbf (diff)
the glib process spawning stuff requires some helper utilities so add them to the installer
Diffstat (limited to 'src')
-rw-r--r--src/installer.nsi6
-rw-r--r--src/trg-main-window.c2
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 );