summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-gdip-animation.c
diff options
context:
space:
mode:
authorNicola Fontana <ntd@entidi.it>2009-11-06 01:21:09 +0100
committerJavier Jardón <jjardon@gnome.org>2009-11-06 01:21:09 +0100
commit2691a46dced7379a2e20db385f506e311181fd2f (patch)
tree7202ffcc545303c39f01061aa7b8f90d7fa75df2 /gdk-pixbuf/io-gdip-animation.c
parentb5959d885155e76956e13d0182b5a94efda841b2 (diff)
downloadgdk-pixbuf-2691a46dced7379a2e20db385f506e311181fd2f.tar.gz
Do not use static GTypeInfo and GInterfaceInfo
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600158
Diffstat (limited to 'gdk-pixbuf/io-gdip-animation.c')
-rw-r--r--gdk-pixbuf/io-gdip-animation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-gdip-animation.c b/gdk-pixbuf/io-gdip-animation.c
index 14cd034bc..7281b6d11 100644
--- a/gdk-pixbuf/io-gdip-animation.c
+++ b/gdk-pixbuf/io-gdip-animation.c
@@ -46,7 +46,7 @@ gdk_pixbuf_gdip_anim_get_type (void)
static GType object_type = 0;
if (!object_type) {
- static const GTypeInfo object_info = {
+ const GTypeInfo object_info = {
sizeof (GdkPixbufGdipAnimClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
@@ -197,7 +197,7 @@ gdk_pixbuf_gdip_anim_iter_get_type (void)
static GType object_type = 0;
if (!object_type) {
- static const GTypeInfo object_info = {
+ const GTypeInfo object_info = {
sizeof (GdkPixbufGdipAnimIterClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,