[gimp] app: emit "changed" when GimpDeviceInfo's device gets (un)set
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: emit "changed" when GimpDeviceInfo's device gets (un)set
- Date: Mon, 28 Feb 2011 15:08:51 +0000 (UTC)
commit a1712a0ec74bce53e56fdde2033ac9b79d763a29
Author: Michael Natterer <mitch gimp org>
Date: Mon Feb 28 16:08:12 2011 +0100
app: emit "changed" when GimpDeviceInfo's device gets (un)set
app/widgets/gimpdeviceinfo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index d5c2322..3f5d3a5 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -625,6 +625,9 @@ gimp_device_info_set_device (GimpDeviceInfo *info,
/* sort order depends on device presence */
gimp_object_name_changed (GIMP_OBJECT (info));
+
+ g_object_notify (G_OBJECT (info), "device");
+ gimp_device_info_changed (info);
}
GdkInputMode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]