[Xfce4-commits] [apps/xfce4-screenshooter] 04/38: Drop GTK_DIALOG_NO_SEPARATOR

noreply at xfce.org noreply at xfce.org
Fri Apr 28 03:07:00 CEST 2017


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit f10c9d4c310dad9a39cff6961f6878d09a58f9d6
Author: Andre Miranda <andre42m at gmail.com>
Date:   Thu Feb 9 23:34:25 2017 -0300

    Drop GTK_DIALOG_NO_SEPARATOR
---
 lib/screenshooter-dialogs.c       | 10 ++++------
 lib/screenshooter-job-callbacks.c |  6 +++---
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/lib/screenshooter-dialogs.c b/lib/screenshooter-dialogs.c
index ac740c0..4b9ba1d 100644
--- a/lib/screenshooter-dialogs.c
+++ b/lib/screenshooter-dialogs.c
@@ -551,7 +551,7 @@ save_screenshot_to_remote_location (GdkPixbuf *screenshot, GFile *save_file)
 
   GtkWidget *dialog = gtk_dialog_new_with_buttons (_("Transfer"),
                                                    NULL,
-                                                   GTK_DIALOG_NO_SEPARATOR,
+                                                   GTK_DIALOG_DESTROY_WITH_PARENT,
                                                    GTK_STOCK_CANCEL,
                                                    GTK_RESPONSE_CANCEL,
                                                    NULL);
@@ -694,8 +694,7 @@ GtkWidget *screenshooter_region_dialog_new (ScreenshotData *sd, gboolean plugin)
       dlg =
         xfce_titled_dialog_new_with_buttons (_("Screenshot"),
                                              NULL,
-                                             GTK_DIALOG_DESTROY_WITH_PARENT|
-                                             GTK_DIALOG_NO_SEPARATOR,
+                                             GTK_DIALOG_DESTROY_WITH_PARENT,
                                              GTK_STOCK_HELP,
                                              GTK_RESPONSE_HELP,
                                              GTK_STOCK_CANCEL,
@@ -711,7 +710,7 @@ GtkWidget *screenshooter_region_dialog_new (ScreenshotData *sd, gboolean plugin)
       dlg =
         xfce_titled_dialog_new_with_buttons (_("Screenshot"),
                                              NULL,
-                                             GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_NO_SEPARATOR,
+                                             GTK_DIALOG_DESTROY_WITH_PARENT,
                                              GTK_STOCK_HELP,
                                              GTK_RESPONSE_HELP,
                                              GTK_STOCK_CLOSE,
@@ -897,8 +896,7 @@ GtkWidget *screenshooter_actions_dialog_new (ScreenshotData *sd)
 
   dlg = xfce_titled_dialog_new_with_buttons (_("Screenshot"),
                                              NULL,
-                                             GTK_DIALOG_DESTROY_WITH_PARENT|
-                                             GTK_DIALOG_NO_SEPARATOR,
+                                             GTK_DIALOG_DESTROY_WITH_PARENT,
                                              GTK_STOCK_HELP,
                                              GTK_RESPONSE_HELP,
                                              GTK_STOCK_CANCEL,
diff --git a/lib/screenshooter-job-callbacks.c b/lib/screenshooter-job-callbacks.c
index b24232d..39d513b 100644
--- a/lib/screenshooter-job-callbacks.c
+++ b/lib/screenshooter-job-callbacks.c
@@ -34,7 +34,7 @@ create_throbber_dialog             (const gchar        *title,
 
   dialog = gtk_dialog_new_with_buttons (title,
                                  NULL,
-                                 GTK_DIALOG_NO_SEPARATOR,
+                                 GTK_DIALOG_DESTROY_WITH_PARENT,
                                  NULL);
 
   gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
@@ -162,7 +162,7 @@ cb_ask_for_information (ScreenshooterJob *job,
   dialog =
     xfce_titled_dialog_new_with_buttons (_("Details about the screenshot for ZimageZ"),
                                          NULL,
-                                         GTK_DIALOG_NO_SEPARATOR,
+                                         GTK_DIALOG_DESTROY_WITH_PARENT,
                                          GTK_STOCK_CANCEL,
                                          GTK_RESPONSE_CANCEL,
                                          GTK_STOCK_OK,
@@ -412,7 +412,7 @@ void cb_image_uploaded (ScreenshooterJob  *job,
   dialog =
     xfce_titled_dialog_new_with_buttons (title,
                                          NULL,
-                                         GTK_DIALOG_NO_SEPARATOR,
+                                         GTK_DIALOG_DESTROY_WITH_PARENT,
                                          GTK_STOCK_CLOSE,
                                          GTK_RESPONSE_CLOSE,
                                          NULL);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list