[gtk+] x11: Put function in header, don't declare them extern



commit f9ddfa28b8432854617dec496a537f97cefc66e7
Author: Benjamin Otte <otte redhat com>
Date:   Fri Oct 5 16:46:49 2012 +0200

    x11: Put function in header, don't declare them extern

 gdk/x11/gdkprivate-x11.h |    4 ++++
 gdk/x11/gdkwindow-x11.c  |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h
index 80380c0..9d127dc 100644
--- a/gdk/x11/gdkprivate-x11.h
+++ b/gdk/x11/gdkprivate-x11.h
@@ -311,6 +311,10 @@ void _gdk_x11_cursor_display_finalize (GdkDisplay *display);
 
 void _gdk_x11_window_register_dnd (GdkWindow *window);
 
+GdkDragContext * _gdk_x11_window_drag_begin (GdkWindow *window,
+                                             GdkDevice *device,
+                                             GList     *targets);
+
 gboolean _gdk_x11_get_xft_setting (GdkScreen   *screen,
                                    const gchar *name,
                                    GValue      *value);
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index e4b880f..150f58e 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -4953,10 +4953,6 @@ gdk_x11_window_get_xid (GdkWindow *window)
   return GDK_WINDOW_IMPL_X11 (window->impl)->xid;
 }
 
-extern GdkDragContext * _gdk_x11_window_drag_begin (GdkWindow *window,
-                                                    GdkDevice *device,
-                                                    GList     *targets);
-
 static void
 gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
 {



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