diff options
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet-factory.c')
-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); |