summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiu Wenbo <qiuwenbo@kylinos.com.cn>2020-11-17 14:47:28 +0800
committerQiu Wenbo <qiuwenbo@kylinos.com.cn>2020-11-17 14:59:14 +0800
commit437f902c9d9b9ed90c8b06b9d8926c91b119a0c3 (patch)
tree45069db9e0a9dcbe42f5527a33c218fafd9df39c
parenta7befc647ec536a3c00679b4acf477cfdd5b693f (diff)
downloadgtk+-437f902c9d9b9ed90c8b06b9d8926c91b119a0c3.tar.gz
Fix a warning caused by difference between prototype and definition
This commit fix the warning: ../gdk/wayland/gdkdisplay-wayland.c:1079: Warning: GdkWayland: gdk_wayland_display_set_cursor_theme: unknown parameter 'name' in documentation comment, should be 'theme'
-rw-r--r--gdk/wayland/gdkwaylanddisplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkwaylanddisplay.h b/gdk/wayland/gdkwaylanddisplay.h
index 0e3249dfb5..239bf26ce5 100644
--- a/gdk/wayland/gdkwaylanddisplay.h
+++ b/gdk/wayland/gdkwaylanddisplay.h
@@ -51,7 +51,7 @@ GDK_AVAILABLE_IN_ALL
struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
- const char *theme,
+ const char *name,
int size);
GDK_AVAILABLE_IN_ALL
const char * gdk_wayland_display_get_startup_notification_id (GdkDisplay *display);