Commit 817f3b94 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't get text unnecessarily. (#155384, Morten Welinder)

2004-10-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
	get text unnecessarily.  (#155384, Morten Welinder)
parent 416cdab3
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
get text unnecessarily. (#155384, Morten Welinder)
2004-10-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
......
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
get text unnecessarily. (#155384, Morten Welinder)
2004-10-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
......
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
get text unnecessarily. (#155384, Morten Welinder)
2004-10-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
......
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't
get text unnecessarily. (#155384, Morten Welinder)
2004-10-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
......
......@@ -1285,7 +1285,6 @@ shortcuts_remove_rows (GtkFileChooserDefault *impl,
int n_rows)
{
GtkTreePath *path;
gchar *text;
path = gtk_tree_path_new_from_indices (start_row, -1);
......@@ -1296,9 +1295,6 @@ shortcuts_remove_rows (GtkFileChooserDefault *impl,
if (!gtk_tree_model_get_iter (GTK_TREE_MODEL (impl->shortcuts_model), &iter, path))
g_assert_not_reached ();
gtk_tree_model_get (GTK_TREE_MODEL (impl->shortcuts_model), &iter,
SHORTCUTS_COL_NAME, &text, -1);
shortcuts_free_row_data (impl, &iter);
gtk_list_store_remove (impl->shortcuts_model, &iter);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment