mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
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>
|
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
|
* 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>
|
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
|
* 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>
|
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
|
* 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>
|
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
|
* gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge
|
||||||
|
@ -1285,7 +1285,6 @@ shortcuts_remove_rows (GtkFileChooserDefault *impl,
|
|||||||
int n_rows)
|
int n_rows)
|
||||||
{
|
{
|
||||||
GtkTreePath *path;
|
GtkTreePath *path;
|
||||||
gchar *text;
|
|
||||||
|
|
||||||
path = gtk_tree_path_new_from_indices (start_row, -1);
|
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))
|
if (!gtk_tree_model_get_iter (GTK_TREE_MODEL (impl->shortcuts_model), &iter, path))
|
||||||
g_assert_not_reached ();
|
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);
|
shortcuts_free_row_data (impl, &iter);
|
||||||
gtk_list_store_remove (impl->shortcuts_model, &iter);
|
gtk_list_store_remove (impl->shortcuts_model, &iter);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user