diff options
author | ZenWalker <[email protected]> | 2017-07-31 03:35:38 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2017-07-31 03:35:38 +0200 |
commit | d5fa1884a1bcd93235f36b06bcc00a4c3646554d (patch) | |
tree | 265ca3dfd64c0d2e3f87e30aadde332c138e260e /libmate-panel-applet | |
parent | 33c4bd47a7210cd9e695ea1a2cbf26abbc3b7bed (diff) | |
download | mate-panel-d5fa1884a1bcd93235f36b06bcc00a4c3646554d.tar.bz2 mate-panel-d5fa1884a1bcd93235f36b06bcc00a4c3646554d.tar.xz |
avoid deprecated gdk_display_get_screen
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet-factory.c | 2 |
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); |