[gtk+/gdk-backend-deprecations] Deprecate gdk_drag_context_new
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend-deprecations] Deprecate gdk_drag_context_new
- Date: Tue, 21 Dec 2010 13:45:35 +0000 (UTC)
commit fd9d1d8d1f74647ec8e4eadceb2b9506d3d8cac1
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 21 08:39:40 2010 -0500
Deprecate gdk_drag_context_new
gdk/gdk.symbols | 2 +-
gdk/x11/gdkdnd-x11.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 9d9dfc3..a471186 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -537,8 +537,8 @@ gdk_display_manager_get_default_display
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_new
gdk_drag_context_ref
gdk_drag_context_unref
#endif
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index edaa43d..06edc03 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -214,6 +214,9 @@ gdk_drag_context_finalize (GObject *object)
* Creates a new #GdkDragContext.
*
* Return value: the newly created #GdkDragContext.
+ *
+ * Deprecated: 2.24: This function is not useful, you always
+ * obtain drag contexts by gdk_drag_begin() or similar.
**/
GdkDragContext *
gdk_drag_context_new (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]