forked from AuroraMiddleware/gtk
deprecate GdkDestroyNotify.
2008-06-18 Michael Natterer <mitch@imendio.com> * gdk/gdk.h: deprecate GdkDestroyNotify. * gdk/gdkevents.c * gdk/gdktypes.h * gdk/x11/gdkevents-x11.c * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g. svn path=/trunk/; revision=20449
This commit is contained in:
parent
fe8a946e87
commit
67c6c28fe0
@ -1,3 +1,12 @@
|
||||
2008-06-18 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gdk/gdk.h: deprecate GdkDestroyNotify.
|
||||
|
||||
* gdk/gdkevents.c
|
||||
* gdk/gdktypes.h
|
||||
* gdk/x11/gdkevents-x11.c
|
||||
* gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
|
||||
|
||||
2008-06-18 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
|
||||
|
@ -102,7 +102,7 @@ gint gdk_input_add_full (gint source,
|
||||
GdkInputCondition condition,
|
||||
GdkInputFunction function,
|
||||
gpointer data,
|
||||
GdkDestroyNotify destroy);
|
||||
GDestroyNotify destroy);
|
||||
#endif /* !GDK_DISABLE_DEPRECATED || GTK_COMPILATION */
|
||||
#ifndef GDK_DISABLE_DEPRECATED
|
||||
gint gdk_input_add (gint source,
|
||||
|
@ -37,7 +37,7 @@ struct _GdkIOClosure
|
||||
{
|
||||
GdkInputFunction function;
|
||||
GdkInputCondition condition;
|
||||
GdkDestroyNotify notify;
|
||||
GDestroyNotify notify;
|
||||
gpointer data;
|
||||
};
|
||||
|
||||
@ -1020,7 +1020,7 @@ gdk_input_add_full (gint source,
|
||||
GdkInputCondition condition,
|
||||
GdkInputFunction function,
|
||||
gpointer data,
|
||||
GdkDestroyNotify destroy)
|
||||
GDestroyNotify destroy)
|
||||
{
|
||||
guint result;
|
||||
GdkIOClosure *closure = g_new (GdkIOClosure, 1);
|
||||
|
@ -179,8 +179,12 @@ typedef void (*GdkInputFunction) (gpointer data,
|
||||
gint source,
|
||||
GdkInputCondition condition);
|
||||
|
||||
#ifndef GDK_DISABLE_DEPRECATED
|
||||
|
||||
typedef void (*GdkDestroyNotify) (gpointer data);
|
||||
|
||||
#endif /* GDK_DISABLE_DEPRECATED */
|
||||
|
||||
struct _GdkPoint
|
||||
{
|
||||
gint x;
|
||||
|
@ -72,7 +72,7 @@ struct _GdkIOClosure
|
||||
{
|
||||
GdkInputFunction function;
|
||||
GdkInputCondition condition;
|
||||
GdkDestroyNotify notify;
|
||||
GDestroyNotify notify;
|
||||
gpointer data;
|
||||
};
|
||||
|
||||
|
@ -2093,7 +2093,7 @@ gtk_input_add_full (gint source,
|
||||
condition,
|
||||
(GdkInputFunction) gtk_invoke_input,
|
||||
closure,
|
||||
(GdkDestroyNotify) gtk_destroy_closure);
|
||||
(GDestroyNotify) gtk_destroy_closure);
|
||||
}
|
||||
else
|
||||
return gdk_input_add_full (source, condition, function, data, destroy);
|
||||
|
Loading…
Reference in New Issue
Block a user