[balsa/wip/gtk4] identity-widgets: Deprecation cleanup



commit e782492c7b7f4a346fc0fc093100edb875df1320
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Feb 26 11:43:12 2019 -0500

    identity-widgets: Deprecation cleanup
    
    Deprecation cleanup: gtk_window_present(); missed when cherry-picking
    from master, because identity-widgets.c doesn't exist in master :)

 libbalsa/identity-widgets.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/identity-widgets.c b/libbalsa/identity-widgets.c
index 066a904de..c5b4ad6ae 100644
--- a/libbalsa/identity-widgets.c
+++ b/libbalsa/identity-widgets.c
@@ -209,7 +209,8 @@ libbalsa_identity_select_dialog(GtkWindow * parent,
     sdi = g_object_get_data(G_OBJECT(parent),
                             LIBBALSA_IDENTITY_SELECT_DIALOG_KEY);
     if (sdi) {
-        gtk_window_present(GTK_WINDOW(sdi->dialog));
+        gtk_window_present_with_time(GTK_WINDOW(sdi->dialog),
+                                     gtk_get_current_event_time());
         return;
     }
 
@@ -1400,7 +1401,8 @@ libbalsa_identity_config_dialog(GtkWindow *parent, GList **identities,
 
     /* Show only one dialog at a time. */
     if (dialog) {
-        gtk_window_present(GTK_WINDOW(dialog));
+        gtk_window_present_with_time(GTK_WINDOW(dialog),
+                                     gtk_get_current_event_time());
         return;
     }
 


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