[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-959-g70ec3f814

paul at claws-mail.org paul at claws-mail.org
Thu May 14 20:56:46 CEST 2020


The branch, gtk3 has been updated
       via  70ec3f814ee4ffd16b9fb3540c9df486082a3e21 (commit)
      from  9536b2b462cdcdaf2f769fb090f0dfeda1ccbf79 (commit)

Summary of changes:
 src/mainwindow.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 70ec3f814ee4ffd16b9fb3540c9df486082a3e21
Author: paul <paul at claws-mail.org>
Date:   Thu May 14 19:56:42 2020 +0100

    revert bad de-deprecation

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 5d8e4a05d..2ec4ddcbe 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2324,7 +2324,7 @@ static gboolean reflect_prefs_timeout_cb(gpointer data)
 #endif
 			hooks_invoke(THEME_CHANGED_HOOKLIST, NULL);
 		}
-		
+
 		headerview_set_font(mainwin->messageview->headerview);
 		headerview_set_visibility(mainwin->messageview->headerview,
 					  prefs_common.display_header_pane);
@@ -2733,10 +2733,10 @@ void main_window_toggle_message_view(MainWindow *mainwin)
 			summaryview->displayed = NULL;
 			g_object_ref(ppaned);
 			gtk_container_remove(GTK_CONTAINER(container), ppaned);
-			gtk_container_add(GTK_CONTAINER(container), GTK_WIDGET_PTR(summaryview));
+			gtk_widget_reparent(GTK_WIDGET_PTR(summaryview), container);
 		} else {
 			mainwin->messageview->visible = TRUE;
-			gtk_container_remove(GTK_CONTAINER(container), ppaned);
+			gtk_widget_reparent(GTK_WIDGET_PTR(summaryview), ppaned);
 			gtk_container_add(GTK_CONTAINER(container), ppaned);
 			g_object_unref(ppaned);
 		}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list