forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
416cdab35a
commit
817f3b94a8
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user