[gimp] app: use gimp_dialog_set_alternative_button_order()



commit bf2ea81fcc2d46af97f9ceaa141e088e25852e74
Author: Ell <ell_se yahoo com>
Date:   Sun Sep 23 14:08:05 2018 -0400

    app: use gimp_dialog_set_alternative_button_order()
    
    ... instead of gtk_dialog_set_alternative_button_order().

 app/actions/dashboard-commands.c | 8 ++++----
 app/tools/gimptransformtool.c    | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/actions/dashboard-commands.c b/app/actions/dashboard-commands.c
index c628e9858e..73eaf92860 100644
--- a/app/actions/dashboard-commands.c
+++ b/app/actions/dashboard-commands.c
@@ -106,10 +106,10 @@ dashboard_log_record_cmd_callback (GtkAction *action,
 
           gtk_dialog_set_default_response (GTK_DIALOG (dialog),
                                            GTK_RESPONSE_OK);
-          gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
-                                                   GTK_RESPONSE_OK,
-                                                   GTK_RESPONSE_CANCEL,
-                                                   -1);
+          gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
+                                                    GTK_RESPONSE_OK,
+                                                    GTK_RESPONSE_CANCEL,
+                                                    -1);
 
           gtk_window_set_screen (
             GTK_WINDOW (dialog),
diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c
index 7d84ebb5ec..95918c7692 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -311,10 +311,10 @@ gimp_transform_tool_confirm (GimpTransformTool *tr_tool,
 
                                         NULL);
 
-      gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
-                                               GTK_RESPONSE_OK,
-                                               GTK_RESPONSE_CANCEL,
-                                               -1);
+      gimp_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
+                                                GTK_RESPONSE_OK,
+                                                GTK_RESPONSE_CANCEL,
+                                                -1);
 
       gimp_message_box_set_primary_text (GIMP_MESSAGE_DIALOG (dialog)->box,
                                          _("Transformation creates "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]