Commit bdbec794 authored by Michael Natterer's avatar Michael Natterer 😴

Use the new macros from the last commit in all files

...and gone are the annoying warnings.
parent 3be0d13b
......@@ -232,7 +232,7 @@ documents_clear_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -163,7 +163,7 @@ edit_undo_clear_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -99,7 +99,7 @@ error_console_save_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -417,7 +417,7 @@ file_revert_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -480,7 +480,7 @@ gradient_editor_replicate_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......@@ -583,7 +583,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -83,7 +83,7 @@ gradients_save_as_pov_ray_cmd_callback (GtkAction *action,
g_free (title);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -182,7 +182,7 @@ plug_in_reset_all_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -245,7 +245,7 @@ templates_delete_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -67,7 +67,7 @@ text_editor_load_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -121,7 +121,7 @@ text_tool_load_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -198,7 +198,7 @@ tool_options_reset_all_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -77,7 +77,7 @@ window_open_display_cmd_callback (GtkAction *action,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -218,7 +218,7 @@ color_profile_dialog_new (ColorProfileDialogType dialog_type,
private->dialog = dialog;
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -106,7 +106,7 @@ color_profile_import_dialog_run (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -140,7 +140,7 @@ convert_indexed_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -169,7 +169,7 @@ convert_precision_dialog_new (GimpImage *image,
g_free (blurb);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -88,7 +88,7 @@ data_delete_dialog_new (GimpDataFactory *factory,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -124,7 +124,7 @@ fade_dialog_new (GimpImage *image,
g_free (title);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -82,7 +82,7 @@ file_open_location_dialog_new (Gimp *gimp)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG(dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG(dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -716,7 +716,7 @@ file_save_dialog_use_extension (GtkWidget *save_dialog,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -117,7 +117,7 @@ fill_dialog_new (GimpItem *item,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -104,7 +104,7 @@ grid_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GRID_RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -102,7 +102,7 @@ image_merge_layers_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -108,7 +108,7 @@ image_new_dialog_new (GimpContext *context)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......@@ -327,7 +327,7 @@ image_new_confirm_dialog (ImageNewDialog *private)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (private->confirm_dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (private->confirm_dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -212,7 +212,7 @@ image_scale_confirm_dialog (ImageScaleDialog *private)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (widget),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (widget),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -64,7 +64,7 @@ input_devices_dialog_new (Gimp *gimp)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CLOSE,
-1);
......
......@@ -147,7 +147,7 @@ item_options_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -112,7 +112,7 @@ layer_add_mask_dialog_new (GimpLayer *layer,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -135,7 +135,7 @@ module_dialog_new (Gimp *gimp)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_CLOSE,
RESPONSE_REFRESH,
-1);
......
......@@ -139,7 +139,7 @@ offset_dialog_new (GimpDrawable *drawable,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -163,7 +163,7 @@ palette_import_dialog_new (GimpContext *context)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -289,7 +289,7 @@ prefs_response (GtkWidget *widget,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (confirm),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (confirm),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......@@ -638,7 +638,7 @@ prefs_menus_remove_callback (GtkWidget *widget,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......@@ -1096,7 +1096,7 @@ prefs_dialog_new (Gimp *gimp,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -126,7 +126,7 @@ print_size_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -175,7 +175,7 @@ quit_close_all_dialog_new (Gimp *gimp,
private->ok_button = gtk_dialog_add_button (GTK_DIALOG (private->dialog),
"", GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (private->dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (private->dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -187,7 +187,7 @@ resize_dialog_new (GimpViewable *viewable,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -75,7 +75,7 @@ resolution_calibrate_dialog (GtkWidget *resolution_entry,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -139,7 +139,7 @@ scale_dialog_new (GimpViewable *viewable,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -130,7 +130,7 @@ stroke_dialog_new (GimpItem *item,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -120,7 +120,7 @@ template_options_dialog_new (GimpTemplate *template,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -86,7 +86,7 @@ vectors_export_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -91,7 +91,7 @@ vectors_import_dialog_new (GimpImage *image,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -183,7 +183,7 @@ gimp_display_shell_close_dialog (GimpDisplayShell *shell,
g_free (title);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_SAVE,
GTK_RESPONSE_CLOSE,
GTK_RESPONSE_CANCEL,
......
......@@ -89,7 +89,7 @@ gimp_display_shell_filter_dialog_new (GimpDisplayShell *shell)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (cdd->dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (cdd->dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -124,7 +124,7 @@ gimp_display_shell_rotate_dialog (GimpDisplayShell *shell)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (shell->rotate_dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (shell->rotate_dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -124,7 +124,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (shell->scale_dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (shell->scale_dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -853,7 +853,7 @@ gimp_tool_gui_update_buttons (GimpToolGui *gui)
}
else
{
gtk_dialog_set_alternative_button_order_from_array (GTK_DIALOG (private->dialog),
gimp_dialog_set_alternative_button_order_from_array (GTK_DIALOG (private->dialog),
n_ids, ids);
}
}
......
......@@ -1609,7 +1609,7 @@ gimp_text_tool_confirm_dialog (GimpTextTool *text_tool)
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_NEW,
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_CANCEL,
......
......@@ -671,7 +671,7 @@ gimp_action_view_conflict_confirm (GimpActionView *view,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -115,7 +115,7 @@ gimp_color_dialog_init (GimpColorDialog *dialog)
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -665,7 +665,7 @@ gimp_controller_editor_edit_clicked (GtkWidget *button,
g_free (title);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (editor->edit_dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (editor->edit_dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -564,7 +564,7 @@ gimp_controller_list_remove_clicked (GtkWidget *button,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
RESPONSE_DISABLE,
......
......@@ -494,7 +494,7 @@ gimp_device_editor_delete_clicked (GtkWidget *button,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -230,7 +230,7 @@ gimp_file_overwrite_dialog (GtkWidget *parent,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -326,7 +326,7 @@ gimp_file_dialog_constructed (GObject *object)
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -449,7 +449,7 @@ gimp_help_browser_error (Gimp *gimp,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......@@ -848,7 +848,7 @@ gimp_help_query_alt_user_manual (GimpIdleHelp *idle_help)
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
if (manuals != NULL)
{
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_YES,
GTK_RESPONSE_CANCEL,
......@@ -857,7 +857,7 @@ gimp_help_query_alt_user_manual (GimpIdleHelp *idle_help)
}
else
{
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -718,7 +718,7 @@ gimp_settings_box_file_dialog (GimpSettingsBox *box,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -449,7 +449,7 @@ confirm_save_dialog (const gchar *message,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......@@ -531,7 +531,7 @@ export_dialog (GSList *actions,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_NO,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......@@ -1023,7 +1023,7 @@ gimp_export_dialog_new (const gchar *format_name,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -870,7 +870,7 @@ gimp_image_metadata_rotate_dialog (gint32 image_ID,
g_free (title);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -581,7 +581,7 @@ gimp_color_button_clicked (GtkButton *button)
g_object_set_data (G_OBJECT (dialog), COLOR_BUTTON_KEY, button);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
......
......@@ -36,6 +36,7 @@
#include "gimpcolorprofilechooserdialog.h"
#include "gimpcolorprofileview.h"
#include "gimpdialog.h"
#include "libgimp/libgimp-intl.h"
......@@ -178,7 +179,7 @@ gimp_color_profile_chooser_dialog_new (const gchar *title,
NULL);
}
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_CANCEL,
-1);
......
......@@ -29,6 +29,8 @@
#include "gimpwidgetstypes.h"
#include "gimpdialog.h"
#undef GIMP_DISABLE_DEPRECATED
#include "gimpfileentry.h"
......@@ -437,7 +439,7 @@ gimp_file_entry_browse_clicked (GtkWidget *widget,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (entry->file_dialog),
gimp_dialog_set_alternative_button_order (GTK_DIALOG (entry->file_dialog),