GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit c8ce95ab authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use canonical form of the name when registering properties.

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.c (gdk_pixbuf_class_init): Use canonical
	form of the name when registering properties.
parent b81da130
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
......
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment