Commit bbaf1be6 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent b16b7fb9
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.
2008-01-14 Michael Natterer <mitch@imendio.com>
* tests/testdnd.c (source_drag_data_get): fix another call to
......
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment