summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdisplay-x11.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-06 19:05:18 +0100
committerJavier Jardón <jjardon@gnome.org>2011-06-10 13:07:54 +0100
commit7c688cb8a6cd35990a26d3a4a26d098e3a5fe5a1 (patch)
tree5f8cf2669b363e4554620389362a8851308c2662 /gdk/x11/gdkdisplay-x11.c
parent7a328b377c50a0ba527a497010216f42aec31b91 (diff)
downloadgtk+-7c688cb8a6cd35990a26d3a4a26d098e3a5fe5a1.tar.gz
gdk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gdk/x11/gdkdisplay-x11.c')
-rw-r--r--gdk/x11/gdkdisplay-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 575c68d1c3..77e73cedce 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -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;