app: Make GimpEditor instance members private

This commit is contained in:
Martin Nordholts
2011-04-09 19:51:51 +02:00
parent 1a3315feac
commit 27ac2a3c38
21 changed files with 236 additions and 171 deletions

View File

@ -691,8 +691,8 @@ palette_editor_entry_selected (GimpPaletteView *view,
gtk_editable_set_editable (GTK_EDITABLE (editor->color_name),
entry && data_editor->data_editable);
gimp_ui_manager_update (GIMP_EDITOR (editor)->ui_manager,
GIMP_EDITOR (editor)->popup_data);
gimp_ui_manager_update (gimp_editor_get_ui_manager (GIMP_EDITOR (editor)),
gimp_editor_get_popup_data (GIMP_EDITOR (editor)));
}
}
@ -703,7 +703,7 @@ palette_editor_entry_activated (GimpPaletteView *view,
{
if (GIMP_DATA_EDITOR (editor)->data_editable && entry == editor->color)
{
gimp_ui_manager_activate_action (GIMP_EDITOR (editor)->ui_manager,
gimp_ui_manager_activate_action (gimp_editor_get_ui_manager (GIMP_EDITOR (editor)),
"palette-editor",
"palette-editor-edit-color");
}