Commit 32d875d0 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/dialogs/module-dialog.c app/dialogs/palette-import-dialog.c

2005-08-03  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/gui/gui.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpaction.c
	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdnd.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockbook.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpenumaction.c
	* app/widgets/gimperrordialog.c
	* app/widgets/gimpfileprocview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimpmessagebox.c
	* app/widgets/gimpmessagedialog.c
	* app/widgets/gimppluginaction.c
	* app/widgets/gimpprogressdialog.c
	* app/widgets/gimpsamplepointeditor.c
	* app/widgets/gimpstringaction.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptoolbox-image-area.c
	* app/widgets/gimptoolbox.c: use canonical names for signals and
	properties.
parent 9d982c6b
2005-08-03 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c
* app/dialogs/palette-import-dialog.c
* app/gui/gui.c
* app/tools/gimpcurvestool.c
* app/tools/gimpimagemaptool.c
* app/tools/gimplevelstool.c
* app/tools/gimpvectortool.c
* app/widgets/gimpaction.c
* app/widgets/gimpcoloreditor.c
* app/widgets/gimpcontainerbox.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcursorview.c
* app/widgets/gimpdnd.c
* app/widgets/gimpdock.c
* app/widgets/gimpdockbook.c
* app/widgets/gimpdrawabletreeview.c
* app/widgets/gimpeditor.c
* app/widgets/gimpenumaction.c
* app/widgets/gimperrordialog.c
* app/widgets/gimpfileprocview.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimpmenudock.c
* app/widgets/gimpmessagebox.c
* app/widgets/gimpmessagedialog.c
* app/widgets/gimppluginaction.c
* app/widgets/gimpprogressdialog.c
* app/widgets/gimpsamplepointeditor.c
* app/widgets/gimpstringaction.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimptoolbox-image-area.c
* app/widgets/gimptoolbox.c: use canonical names for signals and
properties.
2005-08-03 Michael Natterer <mitch@gimp.org>
* plug-ins/help/Makefile.am: link against libgimpcolor. WhyTheHack
......
......@@ -222,7 +222,7 @@ module_dialog_new (Gimp *gimp)
g_signal_connect (gimp->module_db, "remove",
G_CALLBACK (dialog_info_remove),
dialog);
g_signal_connect (gimp->module_db, "module_modified",
g_signal_connect (gimp->module_db, "module-modified",
G_CALLBACK (dialog_info_update),
dialog);
......
......@@ -291,8 +291,8 @@ palette_import_dialog_new (Gimp *gimp)
gint ysize;
gtk_widget_style_get (import_dialog->gradient_combo,
"focus_line_width", &focus_line_width,
"focus_padding", &focus_padding,
"focus-line-width", &focus_line_width,
"focus-padding", &focus_padding,
NULL);
ythickness = import_dialog->gradient_combo->style->ythickness;
......
......@@ -149,8 +149,8 @@ gui_abort (const gchar *abort_message)
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
box = g_object_new (GIMP_TYPE_MESSAGE_BOX,
"stock_id", GIMP_STOCK_WILBER_EEK,
"border_width", 12,
"stock-id", GIMP_STOCK_WILBER_EEK,
"border-width", 12,
NULL);
gimp_message_box_set_text (GIMP_MESSAGE_BOX (box), abort_message);
......
......@@ -620,7 +620,7 @@ gimp_curves_tool_dialog (GimpImageMapTool *image_map_tool)
tool,
&tool->curve_type);
gtk_widget_style_get (bbox, "child_internal_pad_x", &padding, NULL);
gtk_widget_style_get (bbox, "child-internal-pad-x", &padding, NULL);
gimp_enum_stock_box_set_child_padding (hbox, padding, -1);
......
......@@ -277,15 +277,14 @@ gimp_image_map_tool_initialize (GimpTool *tool,
image_map_tool->load_button =
g_object_new (GIMP_TYPE_BUTTON,
"label", GTK_STOCK_OPEN,
"use_stock", TRUE,
"use_underline", TRUE,
"use-stock", TRUE,
"use-underline", TRUE,
NULL);
g_signal_connect (image_map_tool->load_button, "clicked",
G_CALLBACK (gimp_image_map_tool_load_clicked),
image_map_tool);
g_signal_connect (image_map_tool->load_button, "extended_clicked",
g_signal_connect (image_map_tool->load_button, "extended-clicked",
G_CALLBACK (gimp_image_map_tool_load_ext_clicked),
image_map_tool);
......@@ -314,8 +313,7 @@ gimp_image_map_tool_initialize (GimpTool *tool,
g_signal_connect (image_map_tool->save_button, "clicked",
G_CALLBACK (gimp_image_map_tool_save_clicked),
image_map_tool);
g_signal_connect (image_map_tool->save_button, "extended_clicked",
g_signal_connect (image_map_tool->save_button, "extended-clicked",
G_CALLBACK (gimp_image_map_tool_save_ext_clicked),
image_map_tool);
......
......@@ -359,8 +359,8 @@ gimp_levels_tool_color_picker_new (GimpLevelsTool *tool,
button = g_object_new (GTK_TYPE_TOGGLE_BUTTON,
"label", stock_id,
"use_stock", TRUE,
"draw_indicator", FALSE,
"use-stock", TRUE,
"draw-indicator", FALSE,
NULL);
gimp_help_set_help_data (button, help, NULL);
......
......@@ -1611,7 +1611,7 @@ gimp_vector_tool_set_vectors (GimpVectorTool *vector_tool,
g_signal_connect_swapped (sel_button, "clicked",
G_CALLBACK (gimp_vector_tool_to_selection),
tool);
g_signal_connect_swapped (sel_button, "extended_clicked",
g_signal_connect_swapped (sel_button, "extended-clicked",
G_CALLBACK (gimp_vector_tool_to_selection_extended),
tool);
gtk_widget_set_sensitive (sel_button, TRUE);
......
......@@ -238,7 +238,7 @@ gimp_action_new (const gchar *name,
"name", name,
"label", label,
"tooltip", tooltip,
"stock_id", stock_id,
"stock-id", stock_id,
NULL);
}
......
......@@ -182,9 +182,9 @@ gimp_color_editor_init (GimpColorEditor *editor)
gimp_rgb_to_hsv (&rgb, &hsv);
gtk_widget_style_get (GTK_WIDGET (editor),
"content_spacing", &content_spacing,
"button_spacing", &button_spacing,
"button_icon_size", &button_icon_size,
"content-spacing", &content_spacing,
"button-spacing", &button_spacing,
"button-icon-size", &button_icon_size,
NULL);
editor->hbox = gtk_hbox_new (TRUE, button_spacing);
......@@ -270,7 +270,7 @@ gimp_color_editor_init (GimpColorEditor *editor)
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
g_signal_connect (button, "color_picked",
g_signal_connect (button, "color-picked",
G_CALLBACK (gimp_color_editor_color_picked),
editor);
......
......@@ -184,7 +184,7 @@ gimp_container_box_set_size_request (GimpContainerBox *box,
scrollbar_width = sw_class->scrollbar_spacing;
else
gtk_widget_style_get (GTK_WIDGET (box->scrolled_win),
"scrollbar_spacing", &scrollbar_width,
"scrollbar-spacing", &scrollbar_width,
NULL);
gtk_widget_size_request (GTK_SCROLLED_WINDOW (box->scrolled_win)->vscrollbar,
......
......@@ -278,16 +278,16 @@ gimp_container_tree_view_constructor (GType type,
G_CALLBACK (gimp_container_tree_view_selection_changed),
tree_view);
g_signal_connect (tree_view->view, "drag_leave",
g_signal_connect (tree_view->view, "drag-leave",
G_CALLBACK (gimp_container_tree_view_drag_leave),
tree_view);
g_signal_connect (tree_view->view, "drag_motion",
g_signal_connect (tree_view->view, "drag-motion",
G_CALLBACK (gimp_container_tree_view_drag_motion),
tree_view);
g_signal_connect (tree_view->view, "drag_drop",
g_signal_connect (tree_view->view, "drag-drop",
G_CALLBACK (gimp_container_tree_view_drag_drop),
tree_view);
g_signal_connect (tree_view->view, "drag_data_received",
g_signal_connect (tree_view->view, "drag-data-received",
G_CALLBACK (gimp_container_tree_view_drag_data_received),
tree_view);
......
......@@ -144,7 +144,7 @@ gimp_cursor_view_init (GimpCursorView *view)
view->sample_merged = TRUE;
gtk_widget_style_get (GTK_WIDGET (view),
"content_spacing", &content_spacing,
"content-spacing", &content_spacing,
NULL);
......@@ -354,7 +354,7 @@ gimp_cursor_view_style_set (GtkWidget *widget,
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
gtk_widget_style_get (GTK_WIDGET (view),
"content_spacing", &content_spacing,
"content-spacing", &content_spacing,
NULL);
gtk_box_set_spacing (GTK_BOX (view->coord_hbox), content_spacing);
......
......@@ -865,13 +865,13 @@ gimp_dnd_data_source_add (GimpDndType data_type,
if (! drag_connected)
{
g_signal_connect (widget, "drag_begin",
g_signal_connect (widget, "drag-begin",
G_CALLBACK (gimp_dnd_data_drag_begin),
NULL);
g_signal_connect (widget, "drag_end",
g_signal_connect (widget, "drag-end",
G_CALLBACK (gimp_dnd_data_drag_end),
NULL);
g_signal_connect (widget, "drag_data_get",
g_signal_connect (widget, "drag-data-get",
G_CALLBACK (gimp_dnd_data_drag_handle),
NULL);
......@@ -969,7 +969,7 @@ gimp_dnd_data_dest_add (GimpDndType data_type,
if (set_data_func && ! drop_connected)
{
g_signal_connect (widget, "drag_data_received",
g_signal_connect (widget, "drag-data-received",
G_CALLBACK (gimp_dnd_data_drop_handle),
NULL);
......@@ -1207,7 +1207,7 @@ gimp_dnd_xds_source_add (GtkWidget *widget,
if (! handler)
{
handler = g_signal_connect (widget, "drag_begin",
handler = g_signal_connect (widget, "drag-begin",
G_CALLBACK (gimp_dnd_xds_drag_begin),
NULL);
g_object_set_data (G_OBJECT (widget), "gimp-dnd-xds-drag-begin",
......@@ -1219,7 +1219,7 @@ gimp_dnd_xds_source_add (GtkWidget *widget,
if (! handler)
{
handler = g_signal_connect (widget, "drag_end",
handler = g_signal_connect (widget, "drag-end",
G_CALLBACK (gimp_dnd_xds_drag_end),
NULL);
g_object_set_data (G_OBJECT (widget), "gimp-dnd-xds-drag-end",
......
......@@ -681,7 +681,7 @@ gimp_dock_separator_new (GimpDock *dock)
gtk_widget_set_name (event_box, "gimp-dock-separator");
gtk_widget_style_get (GTK_WIDGET (dock),
"separator_height", &separator_height,
"separator-height", &separator_height,
NULL);
gtk_widget_set_size_request (event_box, -1, separator_height);
......@@ -700,13 +700,13 @@ gimp_dock_separator_new (GimpDock *dock)
dialog_target_table, G_N_ELEMENTS (dialog_target_table),
GDK_ACTION_MOVE);
g_signal_connect (event_box, "drag_leave",
g_signal_connect (event_box, "drag-leave",
G_CALLBACK (gimp_dock_separator_drag_leave),
NULL);
g_signal_connect (event_box, "drag_motion",
g_signal_connect (event_box, "drag-motion",
G_CALLBACK (gimp_dock_separator_drag_motion),
NULL);
g_signal_connect (event_box, "drag_drop",
g_signal_connect (event_box, "drag-drop",
G_CALLBACK (gimp_dock_separator_drag_drop),
dock);
......
......@@ -134,11 +134,8 @@ gimp_dockbook_get_type (void)
static void
gimp_dockbook_class_init (GimpDockbookClass *klass)
{
GObjectClass *object_class;
GtkWidgetClass *widget_class;
object_class = G_OBJECT_CLASS (klass);
widget_class = GTK_WIDGET_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -236,11 +233,11 @@ gimp_dockbook_style_set (GtkWidget *widget,
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
gtk_widget_style_get (widget,
"tab_border", &tab_border,
"tab-border", &tab_border,
NULL);
g_object_set (widget,
"tab_border", tab_border,
"tab-border", tab_border,
NULL);
children = gtk_container_get_children (GTK_CONTAINER (widget));
......@@ -412,7 +409,7 @@ gimp_dockbook_get_tab_widget (GimpDockbook *dockbook,
GtkIconSize tab_size = DEFAULT_TAB_ICON_SIZE;
gtk_widget_style_get (GTK_WIDGET (dockbook),
"tab_icon_size", &tab_size,
"tab-icon-size", &tab_size,
NULL);
tab_widget = gimp_dockable_get_tab_widget (dockable,
......@@ -442,10 +439,10 @@ gimp_dockbook_get_tab_widget (GimpDockbook *dockbook,
GDK_BUTTON1_MASK | GDK_BUTTON2_MASK,
dialog_target_table, G_N_ELEMENTS (dialog_target_table),
GDK_ACTION_MOVE);
g_signal_connect (tab_widget, "drag_begin",
g_signal_connect (tab_widget, "drag-begin",
G_CALLBACK (gimp_dockbook_tab_drag_begin),
dockable);
g_signal_connect (tab_widget, "drag_end",
g_signal_connect (tab_widget, "drag-end",
G_CALLBACK (gimp_dockbook_tab_drag_end),
dockable);
......@@ -453,10 +450,10 @@ gimp_dockbook_get_tab_widget (GimpDockbook *dockbook,
GDK_BUTTON1_MASK | GDK_BUTTON2_MASK,
dialog_target_table, G_N_ELEMENTS (dialog_target_table),
GDK_ACTION_MOVE);
g_signal_connect (dockable, "drag_begin",
g_signal_connect (dockable, "drag-begin",
G_CALLBACK (gimp_dockbook_tab_drag_begin),
dockable);
g_signal_connect (dockable, "drag_end",
g_signal_connect (dockable, "drag-end",
G_CALLBACK (gimp_dockbook_tab_drag_end),
dockable);
......@@ -464,7 +461,7 @@ gimp_dockbook_get_tab_widget (GimpDockbook *dockbook,
GTK_DEST_DEFAULT_ALL,
dialog_target_table, G_N_ELEMENTS (dialog_target_table),
GDK_ACTION_MOVE);
g_signal_connect (tab_widget, "drag_drop",
g_signal_connect (tab_widget, "drag-drop",
G_CALLBACK (gimp_dockbook_tab_drag_drop),
dockbook);
......
......@@ -326,7 +326,7 @@ gimp_drawable_tree_view_set_image (GimpItemTreeView *view,
if (view->gimage)
g_signal_connect (view->gimage,
"floating_selection_changed",
"floating-selection-changed",
G_CALLBACK (gimp_drawable_tree_view_floating_selection_changed),
view);
}
......
......@@ -182,7 +182,7 @@ gimp_editor_class_init (GimpEditorClass *klass)
G_PARAM_CONSTRUCT));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("content_spacing",
g_param_spec_int ("content-spacing",
NULL, NULL,
0,
G_MAXINT,
......@@ -190,7 +190,7 @@ gimp_editor_class_init (GimpEditorClass *klass)
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("button_spacing",
g_param_spec_int ("button-spacing",
NULL, NULL,
0,
G_MAXINT,
......@@ -198,7 +198,7 @@ gimp_editor_class_init (GimpEditorClass *klass)
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("button_icon_size",
g_param_spec_enum ("button-icon-size",
NULL, NULL,
GTK_TYPE_ICON_SIZE,
DEFAULT_BUTTON_ICON_SIZE,
......@@ -370,7 +370,7 @@ gimp_editor_style_set (GtkWidget *widget,
if (GTK_WIDGET_CLASS (parent_class)->style_set)
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
gtk_widget_style_get (widget, "content_spacing", &content_spacing, NULL);
gtk_widget_style_get (widget, "content-spacing", &content_spacing, NULL);
gtk_box_set_spacing (GTK_BOX (widget), content_spacing);
......@@ -518,7 +518,7 @@ gimp_editor_add_button (GimpEditor *editor,
callback_data);
if (extended_callback)
g_signal_connect (button, "extended_clicked",
g_signal_connect (button, "extended-clicked",
extended_callback,
callback_data);
......@@ -726,7 +726,7 @@ gimp_editor_add_action_button (GimpEditor *editor,
g_object_set_data_full (G_OBJECT (button), "extended-actions", extended,
(GDestroyNotify) gimp_editor_button_extended_actions_free);
g_signal_connect (button, "extended_clicked",
g_signal_connect (button, "extended-clicked",
G_CALLBACK (gimp_editor_button_extended_clicked),
NULL);
}
......@@ -771,8 +771,8 @@ gimp_editor_set_box_style (GimpEditor *editor,
g_return_if_fail (GTK_IS_BOX (box));
gtk_widget_style_get (GTK_WIDGET (editor),
"button_icon_size", &button_icon_size,
"button_spacing", &button_spacing,
"button-icon-size", &button_icon_size,
"button-spacing", &button_spacing,
NULL);
gtk_box_set_spacing (box, button_spacing);
......@@ -811,8 +811,8 @@ gimp_editor_ensure_button_box (GimpEditor *editor)
gint button_spacing;
gtk_widget_style_get (GTK_WIDGET (editor),
"button_icon_size", &button_icon_size,
"button_spacing", &button_spacing,
"button-icon-size", &button_icon_size,
"button-spacing", &button_spacing,
NULL);
if (! editor->button_box)
......
......@@ -190,7 +190,7 @@ gimp_enum_action_new (const gchar *name,
"name", name,
"label", label,
"tooltip", tooltip,
"stock_id", stock_id,
"stock-id", stock_id,
"value", value,
"value-variable", value_variable,
NULL);
......
......@@ -240,7 +240,7 @@ gimp_error_dialog_add (GimpErrorDialog *dialog,
}
box = g_object_new (GIMP_TYPE_MESSAGE_BOX,
"stock_id", stock_id,
"stock-id", stock_id,
NULL);
dialog->num_messages++;
......
......@@ -157,7 +157,7 @@ gimp_file_proc_view_new (Gimp *gimp,
view = g_object_new (GIMP_TYPE_FILE_PROC_VIEW,
"model", store,
"rules_hint", TRUE,
"rules-hint", TRUE,
NULL);
g_object_unref (store);
......@@ -237,7 +237,7 @@ gimp_file_proc_view_new (Gimp *gimp,
cell = gtk_cell_renderer_pixbuf_new ();
gtk_tree_view_column_pack_start (column, cell, FALSE);
gtk_tree_view_column_set_attributes (column, cell,
"stock_id", COLUMN_STOCK_ID,
"stock-id", COLUMN_STOCK_ID,
"pixbuf", COLUMN_PIXBUF,
NULL);
......
......@@ -494,8 +494,8 @@ gimp_layer_tree_view_style_set (GtkWidget *widget,
gint button_spacing;
gtk_widget_style_get (widget,
"content_spacing", &content_spacing,
"button_spacing", &button_spacing,
"content-spacing", &content_spacing,
"button-spacing", &button_spacing,
NULL);
gtk_table_set_col_spacings (GTK_TABLE (layer_view->options_box),
......
......@@ -264,8 +264,8 @@ gimp_menu_dock_style_set (GtkWidget *widget,
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
gtk_widget_style_get (widget,
"minimal_width", &minimal_width,
"menu_preview_size", &menu_preview_size,
"minimal-width", &minimal_width,
"menu-preview-size", &menu_preview_size,
NULL);
screen = gtk_widget_get_screen (menu_dock->image_combo);
......@@ -275,8 +275,8 @@ gimp_menu_dock_style_set (GtkWidget *widget,
&menu_preview_height);
gtk_widget_style_get (menu_dock->auto_button,
"focus_line_width", &focus_line_width,
"focus_padding", &focus_padding,
"focus-line-width", &focus_line_width,
"focus-padding", &focus_padding,
NULL);
ythickness = menu_dock->auto_button->style->ythickness;
......@@ -370,13 +370,13 @@ static void
gimp_menu_dock_book_added (GimpDock *dock,
GimpDockbook *dockbook)
{
g_signal_connect (dockbook, "dockable_added",
g_signal_connect (dockbook, "dockable-added",
G_CALLBACK (gimp_menu_dock_dockbook_changed),
dock);
g_signal_connect (dockbook, "dockable_removed",
g_signal_connect (dockbook, "dockable-removed",
G_CALLBACK (gimp_menu_dock_dockbook_changed),
dock);
g_signal_connect (dockbook, "dockable_reordered",
g_signal_connect (dockbook, "dockable-reordered",
G_CALLBACK (gimp_menu_dock_dockbook_changed),
dock);
......
......@@ -403,7 +403,7 @@ GtkWidget *
gimp_message_box_new (const gchar *stock_id)
{
return g_object_new (GIMP_TYPE_MESSAGE_BOX,
"stock_id", stock_id,
"stock-id", stock_id,
NULL);
}
......
......@@ -112,7 +112,7 @@ gimp_message_dialog_new (const gchar *title,
va_end (args);
dialog->box = g_object_new (GIMP_TYPE_MESSAGE_BOX,
"stock_id", stock_id,
"stock-id", stock_id,
NULL);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
......
......@@ -233,7 +233,7 @@ gimp_plug_in_action_new (const gchar *name,
"name", name,
"label", label,
"tooltip", tooltip,
"stock_id", stock_id,
"stock-id", stock_id,
"proc-def", proc_def,
NULL);
}
......
......@@ -251,8 +251,8 @@ gimp_progress_dialog_new (void)
return g_object_new (GIMP_TYPE_PROGRESS_DIALOG,
"title", _("Progress"),
"role", "progress",
"skip_taskbar_hint", TRUE,
"skip_pager_hint", TRUE,
"skip-taskbar-hint", TRUE,
"skip-pager-hint", TRUE,
"resizable", FALSE,
NULL);
}
......@@ -158,7 +158,7 @@ gimp_sample_point_editor_init (GimpSamplePointEditor *editor)
editor->sample_merged = TRUE;
gtk_widget_style_get (GTK_WIDGET (editor),
"content_spacing", &content_spacing,
"content-spacing", &content_spacing,
NULL);
editor->table = gtk_table_new (2, 2, TRUE);
......@@ -275,7 +275,7 @@ gimp_sample_point_editor_style_set (GtkWidget *widget,
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
gtk_widget_style_get (widget,
"content_spacing", &content_spacing,
"content-spacing", &content_spacing,
NULL);
gtk_table_set_row_spacing (GTK_TABLE (editor->table), 0, content_spacing);
......
......@@ -192,7 +192,7 @@ gimp_string_action_new (const gchar *name,
"name", name,
"label", label,
"tooltip", tooltip,
"stock_id", stock_id,
"stock-id", stock_id,
"value", value,
NULL);
}
......
......@@ -326,8 +326,8 @@ gimp_template_editor_constructor (GType type,
text = g_strdup_printf ("<b>%s</b>", _("_Advanced Options"));
editor->expander = g_object_new (GTK_TYPE_EXPANDER,
"label", text,
"use_markup", TRUE,
"use_underline", TRUE,
"use-markup", TRUE,
"use-underline", TRUE,
NULL);
g_free (text);
......
......@@ -101,7 +101,7 @@ gimp_toolbox_image_area_create (GimpToolbox *toolbox,
width, height, 0,
FALSE, TRUE, TRUE);
g_signal_connect (image_view, "set_viewable",
g_signal_connect (image_view, "set-viewable",
G_CALLBACK (image_preview_set_viewable),
NULL);
......
......@@ -458,8 +458,8 @@ gimp_toolbox_style_set (GtkWidget *widget,
gimp = GIMP_DOCK (widget)->context->gimp;
gtk_widget_style_get (widget,
"tool_icon_size", &tool_icon_size,
"button_relief", &relief,
"tool-icon-size", &tool_icon_size,
"button-relief", &relief,
NULL);
for (list = GIMP_LIST (gimp->tool_info_list)->list;
......
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