gnome-settings-daemon r431 - in trunk: . plugins/xrandr
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-settings-daemon r431 - in trunk: . plugins/xrandr
- Date: Sun, 10 Aug 2008 09:11:46 +0000 (UTC)
Author: jensg
Date: Sun Aug 10 09:11:46 2008
New Revision: 431
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=431&view=rev
Log:
2008-08-10 Jens Granseuer <jensgr gmx net>
Patch by: Matthias Clasen <mclasen redhat com>
* plugins/xrandr/gsd-xrandr-manager.c: (gsd_xrandr_manager_start):
fail on start if we couldn't set up xrandr (bug #546446)
Modified:
trunk/ChangeLog
trunk/plugins/xrandr/gsd-xrandr-manager.c
Modified: trunk/plugins/xrandr/gsd-xrandr-manager.c
==============================================================================
--- trunk/plugins/xrandr/gsd-xrandr-manager.c (original)
+++ trunk/plugins/xrandr/gsd-xrandr-manager.c Sun Aug 10 09:11:46 2008
@@ -296,6 +296,12 @@
{
g_debug ("Starting xrandr manager");
+ if (manager->priv->rw_screen == NULL) {
+ g_set_error (error, 0, 0, "Failed to initialize XRandR extension");
+ return FALSE;
+ }
+
+
manager->priv->running = TRUE;
manager->priv->client = gconf_client_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]