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
*/
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,
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,
*/
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,