[gnome-control-center] mouse: Don't forget to set the variables we use
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] mouse: Don't forget to set the variables we use
- Date: Fri, 18 Mar 2011 15:29:45 +0000 (UTC)
commit 2fd11caaaf1aad593947869e5775f21cd75d2d3b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Mar 18 15:29:15 2011 +0000
mouse: Don't forget to set the variables we use
Otherwise we can't disconnect very much...
panels/mouse/gnome-mouse-properties.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index 978faae..f57e761 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -375,10 +375,10 @@ gnome_mouse_properties_init (GtkBuilder *dialog)
touchpad_settings = g_settings_new ("org.gnome.settings-daemon.peripherals.touchpad");
device_manager = gdk_display_get_device_manager (gdk_display_get_default ());
- g_signal_connect (device_manager, "device-added",
- G_CALLBACK (device_changed), dialog);
- g_signal_connect (device_manager, "device-removed",
- G_CALLBACK (device_changed), dialog);
+ device_added_id = g_signal_connect (device_manager, "device-added",
+ G_CALLBACK (device_changed), dialog);
+ device_removed_id = g_signal_connect (device_manager, "device-removed",
+ G_CALLBACK (device_changed), dialog);
create_dialog (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]