[Xfce4-commits] [apps/parole] 01/01: Ignore deprecations in tray plugin
noreply at xfce.org
noreply at xfce.org
Tue Feb 7 04:32:56 CET 2017
This is an automated email from the git hooks/post-receive script.
bluesabre pushed a commit to branch master
in repository apps/parole.
commit 10b01577e1957a8604982f0b0a786cfa70b58637
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Mon Feb 6 22:32:50 2017 -0500
Ignore deprecations in tray plugin
---
src/plugins/tray/tray-provider.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/plugins/tray/tray-provider.c b/src/plugins/tray/tray-provider.c
index e5edb8f..752d988 100644
--- a/src/plugins/tray/tray-provider.c
+++ b/src/plugins/tray/tray-provider.c
@@ -182,9 +182,11 @@ popup_menu_cb (GtkStatusIcon *icon, guint button,
g_signal_connect_swapped (mi, "activate", G_CALLBACK (exit_activated_cb), tray);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_menu_popup (GTK_MENU (menu), NULL, NULL,
gtk_status_icon_position_menu,
icon, button, activate_time);
+ G_GNUC_END_IGNORE_DEPRECATIONS
g_signal_connect_swapped (menu, "selection-done",
G_CALLBACK (menu_selection_done_cb), tray);
@@ -413,7 +415,10 @@ tray_provider_set_player (ParoleProviderPlugin *plugin, ParoleProviderPlayer *pl
tray->window = parole_provider_player_get_main_window (player);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
tray->tray = gtk_status_icon_new ();
+ G_GNUC_END_IGNORE_DEPRECATIONS
+
tray->player = player;
tray->menu = NULL;
@@ -425,7 +430,10 @@ tray_provider_set_player (ParoleProviderPlugin *plugin, ParoleProviderPlayer *pl
if ( pix )
{
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_status_icon_set_from_pixbuf (tray->tray, pix);
+ G_GNUC_END_IGNORE_DEPRECATIONS
+
g_object_unref (pix);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list