Remove deprecated code from GdkDnd

This commit is contained in:
Javier Jardón
2009-10-09 17:27:03 +02:00
committed by Javier Jardón
parent e53a1ad236
commit 8c46ef830b
8 changed files with 0 additions and 97 deletions

View File

@ -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

View File

@ -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.
@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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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 *

View File

@ -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,

View File

@ -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,