diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-24 13:28:04 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-24 13:28:04 +0800 |
commit | 40c4f3ac4589fa1214dd1306268d8aaa4b36280b (patch) | |
tree | 19f6ac6aa7165bcb2ed0dc71f5ca206aba6c34cc /x11/gdm/files | |
parent | c35285ec99b91d9c27ed71ae9ea67f28283cc390 (diff) | |
download | marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar.gz marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar.bz2 marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar.lz marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar.xz marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.tar.zst marcuscom-ports-40c4f3ac4589fa1214dd1306268d8aaa4b36280b.zip |
Workaround a crash that occurs if a11y support is not enabled. The problem
is triggered by a chicken and egg problem between gtk_init() and the spi
bridge. This workaround means that an error dialog will not be seen.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7839 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files')
-rw-r--r-- | x11/gdm/files/patch-gui_gdmcommon.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-gui_gdmcommon.c b/x11/gdm/files/patch-gui_gdmcommon.c new file mode 100644 index 000000000..038d07964 --- /dev/null +++ b/x11/gdm/files/patch-gui_gdmcommon.c @@ -0,0 +1,18 @@ +--- gui/gdmcommon.c.orig Tue Oct 24 00:47:40 2006 ++++ gui/gdmcommon.c Tue Oct 24 00:51:13 2006 +@@ -626,13 +626,14 @@ filter_watch (GdkXEvent *xevent, GdkEven + static void + error_dialog (void) + { +- GtkWidget *dialog = gtk_message_dialog_new (NULL, ++/* GtkWidget *dialog = gtk_message_dialog_new (NULL, + GTK_DIALOG_MODAL, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, + _("Assistive technology support has been requested for this session, but the accessibility registry was not found. Please ensure that the AT-SPI package is installed. Your session has been started without assistive technology support.")); + gtk_dialog_run (GTK_DIALOG (dialog)); + gtk_widget_destroy (dialog); ++ */ + } + + |