gnome-games r7861 - trunk/aisleriot
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7861 - trunk/aisleriot
- Date: Sun, 7 Sep 2008 20:01:24 +0000 (UTC)
Author: chpe
Date: Sun Sep 7 20:01:24 2008
New Revision: 7861
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7861&view=rev
Log:
Make sure to disconnect the handlers from the old screen.
Modified:
trunk/aisleriot/board.c
Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c (original)
+++ trunk/aisleriot/board.c Sun Sep 7 20:01:24 2008
@@ -2497,7 +2497,7 @@
}
screen = gtk_widget_get_screen (widget);
- if (screen == NULL || screen == previous_screen)
+ if (screen == previous_screen)
return;
if (previous_screen) {
@@ -2509,6 +2509,9 @@
board);
}
+ if (screen == NULL)
+ return;
+
settings = gtk_settings_get_for_screen (screen);
aisleriot_board_settings_update (settings, NULL, board);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]