From 340cf63e280c8c2d0fd52918fb1a50a0dd9a14a5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 23 Mar 2005 14:07:21 +0000 Subject: [PATCH] Remove a call whose result was unused and leaked. (#170776, Kjartan 2005-03-23 Matthias Clasen * gtk/gtkfilechooserbutton.c (update_combo_box): Remove a call whose result was unused and leaked. (#170776, Kjartan Maraas) --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkfilechooserbutton.c | 1 - 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6cef0c8f10..0a51172c62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-03-23 Matthias Clasen + * gtk/gtkfilechooserbutton.c (update_combo_box): Remove + a call whose result was unused and leaked. (#170776, + Kjartan Maraas) + Some cleanups to the GtkDialog code: (#170746, Morten Welinder) * gtk/gtkdialog.c (action_widget_activated): Simplify, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 6cef0c8f10..0a51172c62 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-03-23 Matthias Clasen + * gtk/gtkfilechooserbutton.c (update_combo_box): Remove + a call whose result was unused and leaked. (#170776, + Kjartan Maraas) + Some cleanups to the GtkDialog code: (#170746, Morten Welinder) * gtk/gtkdialog.c (action_widget_activated): Simplify, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 6cef0c8f10..0a51172c62 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,9 @@ 2005-03-23 Matthias Clasen + * gtk/gtkfilechooserbutton.c (update_combo_box): Remove + a call whose result was unused and leaked. (#170776, + Kjartan Maraas) + Some cleanups to the GtkDialog code: (#170746, Morten Welinder) * gtk/gtkdialog.c (action_widget_activated): Simplify, diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index fbce45911b..8e75ffb142 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -1690,7 +1690,6 @@ update_combo_box (GtkFileChooserButton *button) g_assert (gtk_tree_model_get_iter_first (priv->filter_model, &iter)); - _gtk_file_chooser_get_current_folder_path (GTK_FILE_CHOOSER (priv->dialog)); paths = _gtk_file_chooser_get_paths (GTK_FILE_CHOOSER (priv->dialog)); row_found = FALSE;