[Xfce4-commits] [apps/xfce4-terminal] 01/01: Suppress gtk_status_icon_* deprecation warnings
noreply at xfce.org
noreply at xfce.org
Fri Mar 9 16:02:20 CET 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 be1c7e0bb396bf3362c3c30c6870af47c54fb221
Author: Igor <f2404 at yandex.ru>
Date: Fri Mar 9 10:02:13 2018 -0500
Suppress gtk_status_icon_* deprecation warnings
---
terminal/terminal-window-dropdown.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 986a60f..fde9350 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -402,11 +402,13 @@ terminal_window_dropdown_set_property (GObject *object,
icon_name = gtk_window_get_icon_name (GTK_WINDOW (object));
if (dropdown->status_icon == NULL && icon_name != NULL)
{
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
dropdown->status_icon = g_path_is_absolute (icon_name)
? gtk_status_icon_new_from_file (icon_name)
: gtk_status_icon_new_from_icon_name (icon_name);
gtk_status_icon_set_title (dropdown->status_icon, _("Drop-down Terminal"));
gtk_status_icon_set_tooltip_text (dropdown->status_icon, _("Toggle Drop-down Terminal"));
+G_GNUC_END_IGNORE_DEPRECATIONS
g_signal_connect (G_OBJECT (dropdown->status_icon), "button-press-event",
G_CALLBACK (terminal_window_dropdown_status_icon_press_event), dropdown);
g_signal_connect (G_OBJECT (dropdown->status_icon), "popup-menu",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list