add deprecation compile flags
Sun Sep 29 14:22:47 2002 Manish Singh <yosh@gimp.org> * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am demos/gtk-demo/Makefile.am: add deprecation compile flags * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of unnecessary casts
This commit is contained in:
committed by
Manish Singh
parent
9ab61d6938
commit
d8efdf0024
@ -243,7 +243,7 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
|
||||
GdkPixbufAnimation *
|
||||
gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
|
||||
{
|
||||
return (GdkPixbufAnimation*) g_object_ref (G_OBJECT (animation));
|
||||
return (GdkPixbufAnimation*) g_object_ref (animation);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -255,7 +255,7 @@ gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
|
||||
void
|
||||
gdk_pixbuf_animation_unref (GdkPixbufAnimation *animation)
|
||||
{
|
||||
g_object_unref (G_OBJECT (animation));
|
||||
g_object_unref (animation);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -96,7 +96,7 @@ gdk_pixbuf_finalize (GObject *object)
|
||||
GdkPixbuf *
|
||||
gdk_pixbuf_ref (GdkPixbuf *pixbuf)
|
||||
{
|
||||
return (GdkPixbuf *) g_object_ref (G_OBJECT(pixbuf));
|
||||
return (GdkPixbuf *) g_object_ref (pixbuf);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -110,7 +110,7 @@ gdk_pixbuf_ref (GdkPixbuf *pixbuf)
|
||||
void
|
||||
gdk_pixbuf_unref (GdkPixbuf *pixbuf)
|
||||
{
|
||||
g_object_unref (G_OBJECT (pixbuf));
|
||||
g_object_unref (pixbuf);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user