gdk: Use const instead G_CONST_RETURN

This commit is contained in:
Javier Jardón
2011-06-06 19:05:18 +01:00
parent 7a328b377c
commit 7c688cb8a6
14 changed files with 19 additions and 19 deletions

View File

@ -1502,7 +1502,7 @@ gdk_internal_connection_watch (Display *display,
}
#endif /* HAVE_X11R6 */
static G_CONST_RETURN gchar *
static const gchar *
gdk_x11_display_get_name (GdkDisplay *display)
{
return (gchar *) DisplayString (GDK_X11_DISPLAY (display)->xdisplay);
@ -2188,7 +2188,7 @@ gdk_x11_display_supports_input_shapes (GdkDisplay *display)
*
* Since: 2.12
*/
G_CONST_RETURN gchar *
const gchar *
gdk_x11_display_get_startup_notification_id (GdkDisplay *display)
{
return GDK_X11_DISPLAY (display)->startup_notification_id;