From 278e54b88d950d2baa23516181a077a25c9db124 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 28 Apr 2017 22:55:47 +0100 Subject: [PATCH] gdk: Make more private functions static These symbols are not exported and are local to their compilation unit. --- gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index ae706bb34e..4ffbce5ff4 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -1098,7 +1098,7 @@ find_frame_timings (GdkFrameClock *clock, * a time representation with high accuracy. If there is not a common * time source, then the time synchronization will be less accurate. */ -gint64 +static gint64 server_time_to_monotonic_time (GdkX11Display *display_x11, gint64 server_time) { diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index 861811eba5..bd3040b1d7 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -3079,7 +3079,7 @@ gdk_dnd_handle_button_event (GdkDragContext *context, return TRUE; } -gboolean +static gboolean gdk_dnd_handle_drag_status (GdkDragContext *context, const GdkEventDND *event) { diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 661b5cc86e..87330dfe74 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -196,7 +196,7 @@ _gdk_x11_window_update_size (GdkWindowImplX11 *impl) } } -void +static void gdk_x11_window_get_unscaled_size (GdkWindow *window, int *unscaled_width, int *unscaled_height)