summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-03-09 06:15:13 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-09 06:15:13 +0000
commit52711c24e8b24c395f014de9d96019b728a28cf1 (patch)
treea14adea19950f5915458e44c9be22af11bf3855c /gtk/gtkfontbutton.c
parent263bce4445987c0ffee10438464106d55458f85e (diff)
downloadgtk+-52711c24e8b24c395f014de9d96019b728a28cf1.tar.gz
More canonical property names.
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index b26b8af383..de53ffcc7a 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -188,7 +188,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_FONT_NAME,
- g_param_spec_string ("font_name",
+ g_param_spec_string ("font-name",
P_("Font name"),
P_("The name of the selected font"),
P_("Sans 12"),
@@ -204,7 +204,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_USE_FONT,
- g_param_spec_boolean ("use_font",
+ g_param_spec_boolean ("use-font",
P_("Use font in label"),
P_("Whether the label is drawn in the selected font"),
FALSE,
@@ -220,7 +220,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_USE_SIZE,
- g_param_spec_boolean ("use_size",
+ g_param_spec_boolean ("use-size",
P_("Use size in label"),
P_("Whether the label is drawn with the selected font size"),
FALSE,
@@ -237,7 +237,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_SHOW_STYLE,
- g_param_spec_boolean ("show_style",
+ g_param_spec_boolean ("show-style",
P_("Show style"),
P_("Whether the selected font style is shown in the label"),
TRUE,
@@ -253,7 +253,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_SHOW_SIZE,
- g_param_spec_boolean ("show_size",
+ g_param_spec_boolean ("show-size",
P_("Show size"),
P_("Whether selected font size is shown in the label"),
TRUE,
@@ -269,7 +269,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
*
* Since: 2.4
*/
- font_button_signals[FONT_SET] = g_signal_new ("font_set",
+ font_button_signals[FONT_SET] = g_signal_new ("font-set",
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFontButtonClass, font_set),