]> Pileus Git - ~andy/gtk/commitdiff
Use canonical form of the name when registering properties.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Mar 2005 02:49:27 +0000 (02:49 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 9 Mar 2005 02:49:27 +0000 (02:49 +0000)
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf.c (gdk_pixbuf_class_init): Use canonical
form of the name when registering properties.

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf.c

index 667e903d45bd21571574e81cfb95353a956eba4c..0fcba0727d108ff6d277b6758442c9fe7c0db8d4 100644 (file)
@@ -1,5 +1,8 @@
 2005-03-08  Matthias Clasen  <mclasen@redhat.com>
 
+       * gdk-pixbuf.c (gdk_pixbuf_class_init): Use canonical
+       form of the name when registering properties. 
+
        * gdk-pixbuf.symbols: Add the new attributes here, too.
        
        * gdk-pixbuf-core.h: Use G_GNUC_NULL_TERMINATED where
index 49da10782c1605afdb8545752b826dd9107935ca..765c495869401cd0f6bfb2c842e940a75afe7fca 100644 (file)
@@ -104,7 +104,7 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
          */
         g_object_class_install_property (object_class,
                                          PROP_N_CHANNELS,
-                                         g_param_spec_int ("n_channels",
+                                         g_param_spec_int ("n-channels",
                                                            P_("Number of Channels"),
                                                            P_("The number of samples per pixel"),
                                                            0,
@@ -126,7 +126,7 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
 
         g_object_class_install_property (object_class,
                                          PROP_HAS_ALPHA,
-                                         g_param_spec_boolean ("has_alpha",
+                                         g_param_spec_boolean ("has-alpha",
                                                                P_("Has Alpha"),
                                                                P_("Whether the pixbuf has an alpha channel"),
                                                                FALSE,
@@ -141,7 +141,7 @@ gdk_pixbuf_class_init (GdkPixbufClass *klass)
          */
         g_object_class_install_property (object_class,
                                          PROP_BITS_PER_SAMPLE,
-                                         g_param_spec_int ("bits_per_sample",
+                                         g_param_spec_int ("bits-per-sample",
                                                            P_("Bits per Sample"),
                                                            P_("The number of bits per sample"),
                                                            1,