[gtk+] gdk: Make more private functions static



commit 278e54b88d950d2baa23516181a077a25c9db124
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Apr 28 22:55:47 2017 +0100

    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 ae706bb..4ffbce5 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 861811e..bd3040b 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 661b5cc..87330df 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]