gpointing-device-settings r210 - trunk/modules/gnome-settings-daemon-plugins
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r210 - trunk/modules/gnome-settings-daemon-plugins
- Date: Thu, 12 Mar 2009 04:24:13 +0000 (UTC)
Author: hiikezoe
Date: Thu Mar 12 04:24:13 2009
New Revision: 210
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=210&view=rev
Log:
start manager in idle.
Modified:
trunk/modules/gnome-settings-daemon-plugins/gsd-mouse-extension-manager.c
trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c
Modified: trunk/modules/gnome-settings-daemon-plugins/gsd-mouse-extension-manager.c
==============================================================================
--- trunk/modules/gnome-settings-daemon-plugins/gsd-mouse-extension-manager.c (original)
+++ trunk/modules/gnome-settings-daemon-plugins/gsd-mouse-extension-manager.c Thu Mar 12 04:24:13 2009
@@ -106,7 +106,7 @@
}
static gboolean
-start (GsdPointingDeviceManager *manager, GError **error)
+start_manager (GsdPointingDeviceManager *manager)
{
GpdsXInput *xinput;
GConfClient *gconf;
@@ -133,6 +133,14 @@
g_object_unref(gconf);
g_object_unref(xinput);
+ return FALSE;
+}
+
+static gboolean
+start (GsdPointingDeviceManager *manager, GError **error)
+{
+ g_idle_add((GSourceFunc)start_manager, manager);
+
return TRUE;
}
Modified: trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c
==============================================================================
--- trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c (original)
+++ trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c Thu Mar 12 04:24:13 2009
@@ -162,7 +162,7 @@
}
static gboolean
-start (GsdPointingDeviceManager *manager, GError **error)
+start_manager (GsdPointingDeviceManager *manager)
{
GpdsXInput *xinput;
GConfClient *gconf;
@@ -191,6 +191,14 @@
g_object_unref(gconf);
g_object_unref(xinput);
+ return FALSE;
+}
+
+static gboolean
+start (GsdPointingDeviceManager *manager, GError **error)
+{
+ g_idle_add((GSourceFunc)start_manager, manager);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]