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 12432ff12193150b776a30ac320ea0322bd16018
Author: Igor <f2...@yandex.ru>
Date:   Sat Sep 8 17:47:56 2018 -0400

    Resolve g_type_class_add_private deprecation
---
 terminal/terminal-window.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index b6ad1c3..d0cce6f 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -381,7 +381,7 @@ static const GtkToggleActionEntry toggle_action_entries[] =
 
 
 
-G_DEFINE_TYPE (TerminalWindow, terminal_window, GTK_TYPE_WINDOW)
+G_DEFINE_TYPE_WITH_CODE (TerminalWindow, terminal_window, GTK_TYPE_WINDOW, 
G_ADD_PRIVATE (TerminalWindow))
 
 
 
@@ -427,8 +427,6 @@ terminal_window_class_init (TerminalWindowClass *klass)
                   G_TYPE_OBJECT,
                   G_TYPE_INT, G_TYPE_INT);
 
-  g_type_class_add_private (gobject_class, sizeof (TerminalWindowPrivate));
-
   /* initialize quark */
   tabs_menu_action_quark = g_quark_from_static_string ("tabs-menu-item");
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to