mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Remove deprecated code from GdkDnd
This commit is contained in:
parent
e53a1ad236
commit
8c46ef830b
@ -1224,14 +1224,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
|
||||
|
@ -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
|
||||
|
@ -121,18 +121,6 @@ gdk_drag_context_new (void)
|
||||
return 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,
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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 *
|
||||
|
@ -203,22 +203,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,
|
||||
|
@ -220,38 +220,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,
|
||||
|
Loading…
Reference in New Issue
Block a user