[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix compilation warning

noreply at xfce.org noreply at xfce.org
Mon Aug 8 16:37:19 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 6038874333474635f9197f47782ce1aac695e00d
Author: Igor <f2404 at yandex.ru>
Date:   Mon Aug 8 17:37:12 2016 +0300

    Fix compilation warning
---
 terminal/terminal-window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 93389b0..26f2be0 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -932,7 +932,8 @@ terminal_window_notebook_page_removed (GtkNotebook    *notebook,
 
   /* store working dir of the tab being closed */
   g_free (window->last_working_directory);
-  window->last_working_directory = g_strdup (terminal_screen_get_working_directory (child));
+  window->last_working_directory =
+      g_strdup (terminal_screen_get_working_directory (TERMINAL_SCREEN (child)));
 
   /* unset the go menu item */
   g_object_set_qdata (G_OBJECT (child), tabs_menu_action_quark, NULL);

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


More information about the Xfce4-commits mailing list