From 53e221b99205b3e724e469a093277ab7edf84235 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 14 Dec 2007 15:53:14 +0000 Subject: [PATCH] - Fix an uninitialized variable that makes the session list stop growing before its finished sometimes --- 2-new-chooser-widget.patch | 8 ++++---- gdm.spec | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/2-new-chooser-widget.patch b/2-new-chooser-widget.patch index 0f175f1..9addb3d 100644 --- a/2-new-chooser-widget.patch +++ b/2-new-chooser-widget.patch @@ -199,7 +199,7 @@ index 0000000..64186a2 + if (gtk_tree_model_get_iter (model, iter, path)) { + gtk_tree_model_get (model, iter, + CHOOSER_ID_COLUMN, &item_id, -1); -+ }; ++ } + gtk_tree_path_free (path); + + return item_id; @@ -361,6 +361,8 @@ index 0000000..64186a2 +{ + gboolean is_done; + ++ is_done = FALSE; ++ + if (widget->priv->state == GDM_CHOOSER_WIDGET_STATE_SHRINKING) { + if (widget->priv->top_edge_row != NULL) { + is_done = shrink_edge_toward_active_row (widget, @@ -1559,7 +1561,7 @@ index 0000000..64186a2 + } + g_free (active_item_id); + -+ gtk_tree_model_get (model, &iter, ++ gtk_tree_model_get (GTK_TREE_MODEL (widget->priv->list_store), &iter, + CHOOSER_IMAGE_COLUMN, image, + CHOOSER_NAME_COLUMN, name, + CHOOSER_ITEM_IS_IN_USE_COLUMN, is_in_use, @@ -1704,10 +1706,8 @@ index 0000000..9a5581f + const char *comment, + gboolean is_in_use, + gboolean keep_separate); -+ +void gdm_chooser_widget_remove_item (GdmChooserWidget *widget, + const char *id); -+ +gboolean gdm_chooser_widget_lookup_item (GdmChooserWidget *widget, + const char *id, + GdkPixbuf **image, diff --git a/gdm.spec b/gdm.spec index 9d5d989..0fb999d 100644 --- a/gdm.spec +++ b/gdm.spec @@ -16,7 +16,7 @@ Summary: The GNOME Display Manager Name: gdm Version: 2.21.2 -Release: 0.2007.11.20.5%{?dist} +Release: 0.2007.11.20.6%{?dist} Epoch: 1 License: GPLv2+ Group: User Interface/X @@ -293,6 +293,10 @@ fi %attr(1770, root, gdm) %dir %{_localstatedir}/lib/gdm %changelog +* Fri Dec 14 2007 Ray Strode - 1:2.21.2-0.2007.11.20.6 +- Fix an uninitialized variable that makes the session list stop + growing before its finished sometimes + * Thu Dec 13 2007 Ray Strode - 1:2.21.2-0.2007.11.20.5 - add session chooser to login screen - add hoaky animations