summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet-factory.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-31 03:35:38 +0200
committerZenWalker <[email protected]>2017-07-31 03:35:38 +0200
commitd5fa1884a1bcd93235f36b06bcc00a4c3646554d (patch)
tree265ca3dfd64c0d2e3f87e30aadde332c138e260e /libmate-panel-applet/mate-panel-applet-factory.c
parent33c4bd47a7210cd9e695ea1a2cbf26abbc3b7bed (diff)
downloadmate-panel-d5fa1884a1bcd93235f36b06bcc00a4c3646554d.tar.bz2
mate-panel-d5fa1884a1bcd93235f36b06bcc00a4c3646554d.tar.xz
avoid deprecated gdk_display_get_screen
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet-factory.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-panel-applet/mate-panel-applet-factory.c b/libmate-panel-applet/mate-panel-applet-factory.c
index 6301a11c..82d256ac 100644
--- a/libmate-panel-applet/mate-panel-applet-factory.c
+++ b/libmate-panel-applet/mate-panel-applet-factory.c
@@ -161,7 +161,7 @@ mate_panel_applet_factory_get_applet (MatePanelAppletFactory *factory,
g_variant_unref (props);
screen = screen_num != -1 ?
- gdk_display_get_screen (gdk_display_get_default (), screen_num) :
+ gdk_display_get_default_screen (gdk_display_get_default ()) :
gdk_screen_get_default ();
xid = mate_panel_applet_get_xid (MATE_PANEL_APPLET (applet), screen);