From ecc55bd05e39c57933686637bc2e9e1fe8594de2 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 20 Sep 2006 20:37:15 +0000 Subject: [PATCH] use canonical names for style properties. 2006-09-20 Sven Neumann * libgimpwidgets/gimpcolornotebook.c: use canonical names for style properties. --- ChangeLog | 5 +++++ libgimpwidgets/gimpcolornotebook.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1817fd7285..fbdda9bcfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-20 Sven Neumann + + * libgimpwidgets/gimpcolornotebook.c: use canonical names for + style properties. + 2006-09-20 Bill Skaggs * app/display/gimpcanvas.[ch] diff --git a/libgimpwidgets/gimpcolornotebook.c b/libgimpwidgets/gimpcolornotebook.c index e535499ae8..dcf19b5c68 100644 --- a/libgimpwidgets/gimpcolornotebook.c +++ b/libgimpwidgets/gimpcolornotebook.c @@ -101,14 +101,14 @@ gimp_color_notebook_class_init (GimpColorNotebookClass *klass) selector_class->set_channel = gimp_color_notebook_set_channel; gtk_widget_class_install_style_property (widget_class, - g_param_spec_int ("tab_border", + g_param_spec_int ("tab-border", NULL, "Width of the border around the tab contents", 0, G_MAXINT, DEFAULT_TAB_BORDER, G_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, - g_param_spec_enum ("tab_icon_size", + g_param_spec_enum ("tab-icon-size", NULL, "Size for icons displayed in the tab", GTK_TYPE_ICON_SIZE, @@ -185,12 +185,12 @@ gimp_color_notebook_style_set (GtkWidget *widget, GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style); gtk_widget_style_get (widget, - "tab_border", &tab_border, - "tab_icon_size", &icon_size, + "tab-border", &tab_border, + "tab-icon_size", &icon_size, NULL); g_object_set (notebook->notebook, - "tab_border", tab_border, + "tab-border", tab_border, NULL); for (list = notebook->selectors; list; list = g_list_next (list))