[gnome-commander] Fixed problem with editing options for favourite apps and devices
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fixed problem with editing options for favourite apps and devices
- Date: Mon, 21 Jun 2010 12:47:25 +0000 (UTC)
commit 17a46d8b3ef7e6e090abb7a40983ef6857e1340c
Author: Alasdair Craig <ac acraig za net>
Date: Mon Jun 21 14:45:39 2010 +0200
Fixed problem with editing options for favourite apps and devices
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-options-dialog.cc | 12 ------------
3 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/NEWS b/NEWS
index d62df2f..4c6a265 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,7 @@ Bug fixes:
* Fixed problem #540438 (no GUI message if meld cannot be executed)
* Fixed problem #616367 ("File not found" dialog after startup)
* Fixed problem #620650 (buffer overflow in load_fav_apps())
+ * Fixed problem with editing options for favourite apps and devices
===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 22f28fc..ab1448f 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7116,6 +7116,9 @@
<listitem>
<para>Fixed problem #620650 (buffer overflow in load_fav_apps())</para>
</listitem>
+ <listitem>
+ <para>Fixed problem with editing options for favourite apps and devices</para>
+ </listitem>
</itemizedlist>
</para>
</entry>
diff --git a/src/gnome-cmd-options-dialog.cc b/src/gnome-cmd-options-dialog.cc
index e695ce0..ad6da64 100644
--- a/src/gnome-cmd-options-dialog.cc
+++ b/src/gnome-cmd-options-dialog.cc
@@ -1219,10 +1219,7 @@ static void on_add_app_dialog_ok (GtkButton *button, GtkWidget *dialog)
add_app_to_list (GTK_CLIST (clist), app);
gtk_widget_destroy (dialog);
- g_free (name);
- g_free (cmd);
g_free (icon_path);
- g_free (pattern_string);
}
@@ -1256,10 +1253,7 @@ static void on_edit_app_dialog_ok (GtkButton *button, GtkWidget *dialog)
update_app_in_list (GTK_CLIST (clist), app);
gtk_widget_destroy (dialog);
- g_free (name);
- g_free (cmd);
g_free (icon_path);
- g_free (pattern_string);
}
@@ -1638,9 +1632,6 @@ static void on_add_device_dialog_ok (GtkButton *button, GtkWidget *dialog)
gnome_cmd_con_list_add_device (gnome_cmd_con_list_get (), dev);
- g_free (alias);
- g_free (device);
- g_free (mountp);
g_free (icon_path);
}
@@ -1661,9 +1652,6 @@ static void on_edit_device_dialog_ok (GtkButton *button, GtkWidget *dialog)
update_device_in_list (GTK_CLIST (clist), dev, alias, device, mountp, icon_path);
gtk_widget_destroy (dialog);
- g_free (alias);
- g_free (device);
- g_free (mountp);
g_free (icon_path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]