[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix SIGABRT on moving a tab from one window to another
noreply at xfce.org
noreply at xfce.org
Tue Jun 28 15:14:58 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.
commit ac049c00f15ca230f41836efc47be49440533940
Author: Igor <f2404 at yandex.ru>
Date: Tue Jun 28 16:14:54 2016 +0300
Fix SIGABRT on moving a tab from one window to another
---
terminal/terminal-window.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 1517e20..6ae46a7 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1109,7 +1109,11 @@ terminal_window_notebook_drag_data_received (GtkWidget *widget,
g_object_ref (G_OBJECT (window));
/* remove the document from the source notebook */
+#if GTK_CHECK_VERSION (3,16,0)
+ gtk_notebook_detach_tab (notebook, *screen);
+#else
gtk_container_remove (GTK_CONTAINER (notebook), *screen);
+#endif
/* add the screen to the new window */
terminal_window_add (window, TERMINAL_SCREEN (*screen));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list