[gimp/cage: 110/130] app: don't call g_object_set_data() on a NULL object
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/cage: 110/130] app: don't call g_object_set_data() on a NULL object
- Date: Thu, 30 Dec 2010 17:57:13 +0000 (UTC)
commit d811d355c457e117019f5b15bda5aa4e67d47084
Author: Michael Natterer <mitch gimp org>
Date: Thu Dec 9 20:55:53 2010 +0100
app: don't call g_object_set_data() on a NULL object
app/widgets/gimpdeviceinfo.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index 7677ed9..7652627 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -609,8 +609,7 @@ gimp_device_info_set_device (GimpDeviceInfo *info,
info->device = NULL;
info->display = NULL;
- g_object_set_data (G_OBJECT (info->device), GIMP_DEVICE_INFO_DATA_KEY,
- NULL);
+ g_object_set_data (G_OBJECT (device), GIMP_DEVICE_INFO_DATA_KEY, NULL);
gimp_device_info_set_mode (info, device->mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]