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

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);
......
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