[gtk+] Use boxed accessors for setting and retrieving cursor property
- From: Kristian Rietveld <kristian src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Use boxed accessors for setting and retrieving cursor property
- Date: Wed, 30 Sep 2009 11:10:50 +0000 (UTC)
commit 28d56cbbda3ee3605280210b79ca05ac3c01ce38
Author: Kristian Rietveld <kris gtk org>
Date: Wed Sep 30 13:00:28 2009 +0200
Use boxed accessors for setting and retrieving cursor property
gdk/gdkwindow.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index d4ce492..7f3572f 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -613,7 +613,7 @@ gdk_window_set_property (GObject *object,
switch (prop_id)
{
case PROP_CURSOR:
- gdk_window_set_cursor (window, g_value_get_pointer (value));
+ gdk_window_set_cursor (window, g_value_get_boxed (value));
break;
default:
@@ -633,7 +633,7 @@ gdk_window_get_property (GObject *object,
switch (prop_id)
{
case PROP_CURSOR:
- g_value_set_pointer (value, gdk_window_get_cursor (window));
+ g_value_set_boxed (value, gdk_window_get_cursor (window));
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]