[balsa/wip/gtk4] message-window: Fix fallout



commit c2c9ee5243f2b7acba3446c18ee5ef3e84d5c0e2
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Feb 24 14:05:04 2019 -0500

    message-window: Fix fallout

 src/message-window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/message-window.c b/src/message-window.c
index 924efc2e5..e062bc43f 100644
--- a/src/message-window.c
+++ b/src/message-window.c
@@ -609,7 +609,7 @@ mw_set_selected(BalsaMessageWindow * mw, void (*select_func) (BalsaIndex *))
     if ((tmp = g_object_get_data(G_OBJECT(message),
                                  BALSA_MESSAGE_WINDOW_KEY))) {
         if (tmp == mw) {
-            gtk_window_present_with_time(GTK_WINDOW(tmp->window),
+            gtk_window_present_with_time(GTK_WINDOW(tmp),
                                          gtk_get_current_event_time());
             g_object_unref(message);
             return;
@@ -860,7 +860,7 @@ message_window_new(LibBalsaMailbox * mailbox, guint msgno)
     if (message 
         && (mw = g_object_get_data(G_OBJECT(message), 
                                    BALSA_MESSAGE_WINDOW_KEY))) {
-        gtk_window_present_with_time(GTK_WINDOW(mw->window),
+        gtk_window_present_with_time(GTK_WINDOW(mw),
                                      gtk_get_current_event_time());
         g_object_unref(message);
         return;


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