use canonical names for style properties.

2006-09-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c: use canonical names for
	style properties.
This commit is contained in:
Sven Neumann 2006-09-20 20:37:15 +00:00 committed by Sven Neumann
parent 7903feff20
commit ecc55bd05e
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2006-09-20 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolornotebook.c: use canonical names for
style properties.
2006-09-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpcanvas.[ch]

View File

@ -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))