[gtk+/gtk-2-90: 71/146] Remove deprecated code from GdkDnd
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 71/146] Remove deprecated code from GdkDnd
- Date: Wed, 9 Dec 2009 07:40:57 +0000 (UTC)
commit 4ead3bceeeedeaacb0fa560febf7233fb7797e55
Author: Javier Jardón <javierjc1982 gmail com>
Date: Fri Oct 9 17:27:03 2009 +0200
Remove deprecated code from GdkDnd
docs/reference/gdk/gdk-sections.txt | 2 --
docs/reference/gdk/tmpl/dnd.sgml | 14 --------------
gdk/directfb/gdkdnd-directfb.c | 12 ------------
gdk/gdk.symbols | 4 ----
gdk/gdkdnd.h | 5 -----
gdk/quartz/gdkdnd-quartz.c | 12 ------------
gdk/win32/gdkdnd-win32.c | 16 ----------------
gdk/x11/gdkdnd-x11.c | 32 --------------------------------
8 files changed, 0 insertions(+), 97 deletions(-)
---
diff --git a/docs/reference/gdk/gdk-sections.txt b/docs/reference/gdk/gdk-sections.txt
index 0b565b4..9714b3d 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -1221,14 +1221,12 @@ gdk_drag_context_new
gdk_drag_drop
gdk_drag_find_window
gdk_drag_find_window_for_screen
-gdk_drag_context_ref
gdk_drag_begin
gdk_drag_motion
gdk_drop_finish
gdk_drag_get_protocol
gdk_drag_get_protocol_for_display
GdkDragProtocol
-gdk_drag_context_unref
GdkDragContext
GdkDragAction
gdk_drag_status
diff --git a/docs/reference/gdk/tmpl/dnd.sgml b/docs/reference/gdk/tmpl/dnd.sgml
index b3c360d..3d1b521 100644
--- a/docs/reference/gdk/tmpl/dnd.sgml
+++ b/docs/reference/gdk/tmpl/dnd.sgml
@@ -91,13 +91,6 @@ the GTK+ documentation for more information.
@protocol:
-<!-- ##### FUNCTION gdk_drag_context_ref ##### -->
-<para>
-</para>
-
- context:
-
-
<!-- ##### FUNCTION gdk_drag_begin ##### -->
<para>
</para>
@@ -166,13 +159,6 @@ which DND is done.
@GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented).
@GDK_DRAG_PROTO_LOCAL: Intra-application DND.
-<!-- ##### FUNCTION gdk_drag_context_unref ##### -->
-<para>
-</para>
-
- context:
-
-
<!-- ##### STRUCT GdkDragContext ##### -->
<para>
A <structname>GdkDragContext</structname> holds information about a
diff --git a/gdk/directfb/gdkdnd-directfb.c b/gdk/directfb/gdkdnd-directfb.c
index a106de8..ca1c035 100644
--- a/gdk/directfb/gdkdnd-directfb.c
+++ b/gdk/directfb/gdkdnd-directfb.c
@@ -150,18 +150,6 @@ gdk_drag_context_new (void)
return (GdkDragContext *) g_object_new (gdk_drag_context_get_type (), NULL);
}
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
- g_object_ref (context);
-}
-
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
- g_object_unref (context);
-}
-
static GdkDragContext *
gdk_drag_context_find (gboolean is_source,
GdkWindow *source,
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index f9e7798..3b1fe7b 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -511,10 +511,6 @@ gdk_drag_abort
gdk_drag_begin
gdk_drag_context_get_type G_GNUC_CONST
gdk_drag_context_new
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_drag_context_ref
-gdk_drag_context_unref
-#endif
gdk_drag_drop
gdk_drag_drop_succeeded
gdk_drag_find_window_for_screen
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index b9f8335..beada1d 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -107,11 +107,6 @@ struct _GdkDragContextClass {
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
GdkDragContext * gdk_drag_context_new (void);
-#ifndef GDK_DISABLE_DEPRECATED
-void gdk_drag_context_ref (GdkDragContext *context);
-void gdk_drag_context_unref (GdkDragContext *context);
-#endif
-
/* Destination side */
void gdk_drag_status (GdkDragContext *context,
diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c
index bb70b71..2292d1f 100644
--- a/gdk/quartz/gdkdnd-quartz.c
+++ b/gdk/quartz/gdkdnd-quartz.c
@@ -87,18 +87,6 @@ gdk_drag_context_new (void)
return (GdkDragContext *)g_object_new (gdk_drag_context_get_type (), NULL);
}
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
- g_object_ref (context);
-}
-
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
- g_object_unref (context);
-}
-
GdkDragContext *_gdk_quartz_drag_source_context = NULL;
GdkDragContext *
diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c
index 674643d..03f7c44 100644
--- a/gdk/win32/gdkdnd-win32.c
+++ b/gdk/win32/gdkdnd-win32.c
@@ -193,22 +193,6 @@ gdk_drag_context_new (void)
return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL);
}
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
- g_object_ref (context);
-}
-
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
- g_object_unref (context);
-}
-
static GdkDragContext *
gdk_drag_context_find (gboolean is_source,
GdkWindow *source,
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index c7c803a..8ffa542 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -213,38 +213,6 @@ gdk_drag_context_new (void)
return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL);
}
-/**
- * gdk_drag_context_ref:
- * @context: a #GdkDragContext.
- *
- * Deprecated function; use g_object_ref() instead.
- *
- * Deprecated: 2.2: Use g_object_ref() instead.
- **/
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
- g_object_ref (context);
-}
-
-/**
- * gdk_drag_context_unref:
- * @context: a #GdkDragContext.
- *
- * Deprecated function; use g_object_unref() instead.
- *
- * Deprecated: 2.2: Use g_object_unref() instead.
- **/
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
- g_object_unref (context);
-}
-
static GdkDragContext *
gdk_drag_context_find (GdkDisplay *display,
gboolean is_source,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]