diff options
author | Michael Natterer <mitch@imendio.com> | 2008-01-14 15:00:57 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-01-14 15:00:57 +0000 |
commit | bbaf1be62542706321271c08fbfd810467dcb397 (patch) | |
tree | 0777f51f66a9246ec2ef0aaeb1c7583745fc3861 /gdk/gdkscreen.c | |
parent | b16b7fb91a8251e6fceb156e07a3cce171ae74b1 (diff) | |
download | gtk+-bbaf1be62542706321271c08fbfd810467dcb397.tar.gz |
cast the return value of gdk_screen_get_font_options() to gpointer to get
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.
svn path=/trunk/; revision=19370
Diffstat (limited to 'gdk/gdkscreen.c')
-rw-r--r-- | gdk/gdkscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c index 72aa3f7313..3695973c53 100644 --- a/gdk/gdkscreen.c +++ b/gdk/gdkscreen.c @@ -506,7 +506,7 @@ gdk_screen_get_property (GObject *object, switch (prop_id) { case PROP_FONT_OPTIONS: - g_value_set_pointer (value, gdk_screen_get_font_options (screen)); + g_value_set_pointer (value, (gpointer) gdk_screen_get_font_options (screen)); break; case PROP_RESOLUTION: g_value_set_double (value, gdk_screen_get_resolution (screen)); |