summaryrefslogtreecommitdiff
path: root/mate-panel/libmate-panel-applet-private/panel-applet-container.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/libmate-panel-applet-private/panel-applet-container.c')
-rw-r--r--mate-panel/libmate-panel-applet-private/panel-applet-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-container.c b/mate-panel/libmate-panel-applet-private/panel-applet-container.c
index 95fca64b..e4232fcb 100644
--- a/mate-panel/libmate-panel-applet-private/panel-applet-container.c
+++ b/mate-panel/libmate-panel-applet-private/panel-applet-container.c
@@ -479,7 +479,7 @@ mate_panel_applet_container_get_applet (MatePanelAppletContainer *container,
/* we can't use the screen of the container widget since it's not in a
* widget hierarchy yet */
- screen_number = gdk_screen_get_number (screen);
+ screen_number = gdk_x11_screen_get_screen_number (screen);
data = g_new (AppletFactoryData, 1);
data->result = result;