Commit 8c46ef83 authored by Javier Jardón's avatar Javier Jardón Committed by Javier Jardon
Browse files

Remove deprecated code from GdkDnd

parent e53a1ad2
...@@ -1224,14 +1224,12 @@ gdk_drag_context_new ...@@ -1224,14 +1224,12 @@ gdk_drag_context_new
gdk_drag_drop gdk_drag_drop
gdk_drag_find_window gdk_drag_find_window
gdk_drag_find_window_for_screen gdk_drag_find_window_for_screen
gdk_drag_context_ref
gdk_drag_begin gdk_drag_begin
gdk_drag_motion gdk_drag_motion
gdk_drop_finish gdk_drop_finish
gdk_drag_get_protocol gdk_drag_get_protocol
gdk_drag_get_protocol_for_display gdk_drag_get_protocol_for_display
GdkDragProtocol GdkDragProtocol
gdk_drag_context_unref
GdkDragContext GdkDragContext
GdkDragAction GdkDragAction
gdk_drag_status gdk_drag_status
......
...@@ -91,13 +91,6 @@ the GTK+ documentation for more information. ...@@ -91,13 +91,6 @@ the GTK+ documentation for more information.
@protocol: @protocol:
<!-- ##### FUNCTION gdk_drag_context_ref ##### -->
<para>
</para>
@context:
<!-- ##### FUNCTION gdk_drag_begin ##### --> <!-- ##### FUNCTION gdk_drag_begin ##### -->
<para> <para>
</para> </para>
...@@ -166,13 +159,6 @@ which DND is done. ...@@ -166,13 +159,6 @@ which DND is done.
@GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented). @GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented).
@GDK_DRAG_PROTO_LOCAL: Intra-application DND. @GDK_DRAG_PROTO_LOCAL: Intra-application DND.
<!-- ##### FUNCTION gdk_drag_context_unref ##### -->
<para>
</para>
@context:
<!-- ##### STRUCT GdkDragContext ##### --> <!-- ##### STRUCT GdkDragContext ##### -->
<para> <para>
A <structname>GdkDragContext</structname> holds information about a A <structname>GdkDragContext</structname> holds information about a
......
...@@ -121,18 +121,6 @@ gdk_drag_context_new (void) ...@@ -121,18 +121,6 @@ gdk_drag_context_new (void)
return g_object_new (gdk_drag_context_get_type (), NULL); 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 * static GdkDragContext *
gdk_drag_context_find (gboolean is_source, gdk_drag_context_find (gboolean is_source,
GdkWindow *source, GdkWindow *source,
......
...@@ -511,10 +511,6 @@ gdk_drag_abort ...@@ -511,10 +511,6 @@ gdk_drag_abort
gdk_drag_begin gdk_drag_begin
gdk_drag_context_get_type G_GNUC_CONST gdk_drag_context_get_type G_GNUC_CONST
gdk_drag_context_new gdk_drag_context_new
#ifndef GDK_DISABLE_DEPRECATED
gdk_drag_context_ref
gdk_drag_context_unref
#endif
gdk_drag_drop gdk_drag_drop
gdk_drag_drop_succeeded gdk_drag_drop_succeeded
gdk_drag_find_window_for_screen gdk_drag_find_window_for_screen
......
...@@ -107,11 +107,6 @@ struct _GdkDragContextClass { ...@@ -107,11 +107,6 @@ struct _GdkDragContextClass {
GType gdk_drag_context_get_type (void) G_GNUC_CONST; GType gdk_drag_context_get_type (void) G_GNUC_CONST;
GdkDragContext * gdk_drag_context_new (void); 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 */ /* Destination side */
void gdk_drag_status (GdkDragContext *context, void gdk_drag_status (GdkDragContext *context,
......
...@@ -87,18 +87,6 @@ gdk_drag_context_new (void) ...@@ -87,18 +87,6 @@ gdk_drag_context_new (void)
return (GdkDragContext *)g_object_new (gdk_drag_context_get_type (), NULL); 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 *_gdk_quartz_drag_source_context = NULL;
GdkDragContext * GdkDragContext *
......
...@@ -203,22 +203,6 @@ gdk_drag_context_new (void) ...@@ -203,22 +203,6 @@ gdk_drag_context_new (void)
return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL); 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 * static GdkDragContext *
gdk_drag_context_find (gboolean is_source, gdk_drag_context_find (gboolean is_source,
GdkWindow *source, GdkWindow *source,
......
...@@ -220,38 +220,6 @@ gdk_drag_context_new (void) ...@@ -220,38 +220,6 @@ gdk_drag_context_new (void)
return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL); 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 * static GdkDragContext *
gdk_drag_context_find (GdkDisplay *display, gdk_drag_context_find (GdkDisplay *display,
gboolean is_source, gboolean is_source,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment