diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 452caddc59c6..a5d8159cc30f 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -8,6 +8,7 @@ PORTNAME= gdm PORTVERSION= 2.16.1 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11/gdm/files/patch-gui_greeter_greeter_item_ulist.c b/x11/gdm/files/patch-gui_greeter_greeter_item_ulist.c new file mode 100644 index 000000000000..1fbc85410ad4 --- /dev/null +++ b/x11/gdm/files/patch-gui_greeter_greeter_item_ulist.c @@ -0,0 +1,20 @@ +=================================================================== +RCS file: /cvs/gnome/gdm2/gui/greeter/greeter_item_ulist.c,v +retrieving revision 1.29 +retrieving revision 1.30 +diff -u -r1.29 -r1.30 +--- gui/greeter/greeter_item_ulist.c 2006/05/31 09:24:08 1.29 ++++ gui/greeter/greeter_item_ulist.c 2006/10/09 15:30:31 1.30 +@@ -66,8 +66,10 @@ + greeter_item_ulist_unset_selected_user (void) + { + GtkTreeSelection *selection; +- selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (user_list)); +- gtk_tree_selection_unselect_all (selection); ++ if (user_list != NULL) { ++ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (user_list)); ++ gtk_tree_selection_unselect_all (GTK_TREE_SELECTION (selection)); ++ } + + if (selected_user != NULL) + g_free (selected_user);