[Xfce4-commits] [apps/xfce4-dict] 02/02: Replace gdk_screen_get_number (deprecated in 3.22)

noreply at xfce.org noreply at xfce.org
Wed Nov 2 00:14:22 CET 2016


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-dict.

commit 789df05e9badb8d5cdf8f6d4de6d18fa5e0b7242
Author: Andre Miranda <andre42m at gmail.com>
Date:   Tue Nov 1 20:03:03 2016 -0300

    Replace gdk_screen_get_number (deprecated in 3.22)
---
 panel-plugin/xfce4-dict-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index 88f3b50..25e0252 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -138,7 +138,7 @@ static gboolean dict_plugin_set_selection(DictPanelData *dpd)
 
 	gscreen = gtk_widget_get_screen(win);
 	g_snprintf(selection_name, sizeof (selection_name),
-		XFCE_DICT_SELECTION"%d", gdk_screen_get_number(gscreen));
+		XFCE_DICT_SELECTION"%d", gdk_x11_screen_get_screen_number(gscreen));
 	selection_atom = XInternAtom(gdk_x11_display_get_xdisplay(gdk_display_get_default()), selection_name, False);
 
 	if (XGetSelectionOwner(gdk_x11_display_get_xdisplay(gdk_display_get_default()), selection_atom))

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


More information about the Xfce4-commits mailing list