- Fix an uninitialized variable that makes the session list stop growing

before its finished sometimes
This commit is contained in:
Ray Strode 2007-12-14 15:53:14 +00:00
parent d0e8d54990
commit 53e221b992
2 changed files with 9 additions and 5 deletions

View File

@ -199,7 +199,7 @@ index 0000000..64186a2
+ if (gtk_tree_model_get_iter (model, iter, path)) { + if (gtk_tree_model_get_iter (model, iter, path)) {
+ gtk_tree_model_get (model, iter, + gtk_tree_model_get (model, iter,
+ CHOOSER_ID_COLUMN, &item_id, -1); + CHOOSER_ID_COLUMN, &item_id, -1);
+ }; + }
+ gtk_tree_path_free (path); + gtk_tree_path_free (path);
+ +
+ return item_id; + return item_id;
@ -361,6 +361,8 @@ index 0000000..64186a2
+{ +{
+ gboolean is_done; + gboolean is_done;
+ +
+ is_done = FALSE;
+
+ if (widget->priv->state == GDM_CHOOSER_WIDGET_STATE_SHRINKING) { + if (widget->priv->state == GDM_CHOOSER_WIDGET_STATE_SHRINKING) {
+ if (widget->priv->top_edge_row != NULL) { + if (widget->priv->top_edge_row != NULL) {
+ is_done = shrink_edge_toward_active_row (widget, + is_done = shrink_edge_toward_active_row (widget,
@ -1559,7 +1561,7 @@ index 0000000..64186a2
+ } + }
+ g_free (active_item_id); + 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_IMAGE_COLUMN, image,
+ CHOOSER_NAME_COLUMN, name, + CHOOSER_NAME_COLUMN, name,
+ CHOOSER_ITEM_IS_IN_USE_COLUMN, is_in_use, + CHOOSER_ITEM_IS_IN_USE_COLUMN, is_in_use,
@ -1704,10 +1706,8 @@ index 0000000..9a5581f
+ const char *comment, + const char *comment,
+ gboolean is_in_use, + gboolean is_in_use,
+ gboolean keep_separate); + gboolean keep_separate);
+
+void gdm_chooser_widget_remove_item (GdmChooserWidget *widget, +void gdm_chooser_widget_remove_item (GdmChooserWidget *widget,
+ const char *id); + const char *id);
+
+gboolean gdm_chooser_widget_lookup_item (GdmChooserWidget *widget, +gboolean gdm_chooser_widget_lookup_item (GdmChooserWidget *widget,
+ const char *id, + const char *id,
+ GdkPixbuf **image, + GdkPixbuf **image,

View File

@ -16,7 +16,7 @@
Summary: The GNOME Display Manager Summary: The GNOME Display Manager
Name: gdm Name: gdm
Version: 2.21.2 Version: 2.21.2
Release: 0.2007.11.20.5%{?dist} Release: 0.2007.11.20.6%{?dist}
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
Group: User Interface/X Group: User Interface/X
@ -293,6 +293,10 @@ fi
%attr(1770, root, gdm) %dir %{_localstatedir}/lib/gdm %attr(1770, root, gdm) %dir %{_localstatedir}/lib/gdm
%changelog %changelog
* Fri Dec 14 2007 Ray Strode <rstrode@redhat.com> - 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 <rstrode@redhat.com> - 1:2.21.2-0.2007.11.20.5 * Thu Dec 13 2007 Ray Strode <rstrode@redhat.com> - 1:2.21.2-0.2007.11.20.5
- add session chooser to login screen - add session chooser to login screen
- add hoaky animations - add hoaky animations