[Xfce4-commits] [apps/xfce4-terminal] 01/01: Resolve g_type_class_add_private deprecation
noreply at xfce.org
noreply at xfce.org
Sat Sep 8 23:48:03 CEST 2018
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit 12432ff12193150b776a30ac320ea0322bd16018
Author: Igor <f2404 at 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.
More information about the Xfce4-commits
mailing list