[gtk+/gdk-backend: 19/91] Rename _gdk_dnd_init
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend: 19/91] Rename _gdk_dnd_init
- Date: Sat, 18 Dec 2010 01:07:25 +0000 (UTC)
commit a79dd85bb3846cb50a509238d4aa18392aa52f2b
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 10 02:00:39 2010 -0500
Rename _gdk_dnd_init
Nonstatic backend-specific functions need an x11 in their name.
gdk/x11/gdkdisplay-x11.c | 2 +-
gdk/x11/gdkdnd-x11.c | 4 ++--
gdk/x11/gdkprivate-x11.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index dac5fb3..0be44a1 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -1425,7 +1425,7 @@ gdk_display_open (const gchar *display_name)
#endif
_gdk_input_init (display);
- _gdk_dnd_init (display);
+ _gdk_x11_dnd_init (display);
for (i = 0; i < ScreenCount (display_x11->xdisplay); i++)
_gdk_x11_screen_setup (display_x11->screens[i]);
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 1ebc08d..132bfbc 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -3074,7 +3074,7 @@ xdnd_drop_filter (GdkXEvent *xev,
************************** Public API ***********************
*************************************************************/
void
-_gdk_dnd_init (GdkDisplay *display)
+_gdk_x11_dnd_init (GdkDisplay *display)
{
int i;
init_byte_order ();
@@ -3091,7 +3091,7 @@ _gdk_dnd_init (GdkDisplay *display)
gdk_atom_intern_static_string (xdnd_filters[i].atom_name),
xdnd_filters[i].func, NULL);
}
-}
+}
/* Source side */
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h
index 31c4e90..efa886f 100644
--- a/gdk/x11/gdkprivate-x11.h
+++ b/gdk/x11/gdkprivate-x11.h
@@ -149,7 +149,7 @@ void _gdk_events_init (GdkDisplay *display);
void _gdk_events_uninit (GdkDisplay *display);
void _gdk_windowing_window_init (GdkScreen *screen);
void _gdk_visual_init (GdkScreen *screen);
-void _gdk_dnd_init (GdkDisplay *display);
+void _gdk_x11_dnd_init (GdkDisplay *display);
void _gdk_x11_cursor_update_theme (GdkCursor *cursor);
void _gdk_x11_cursor_display_finalize (GdkDisplay *display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]