diff options
author | William Wold <[email protected]> | 2019-06-21 02:59:13 +0000 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-23 10:12:24 +0200 |
commit | 6ceac636cc2f96702707a560b73975391506c630 (patch) | |
tree | 32dbd080e072f7b2ad291a9e65aef730c05e9c57 | |
parent | 08dba813b7e4289bf87ae4c12d87acd9e0399574 (diff) | |
download | mate-panel-6ceac636cc2f96702707a560b73975391506c630.tar.bz2 mate-panel-6ceac636cc2f96702707a560b73975391506c630.tar.xz |
Fix out-of-process applets on X11 by fixing mate-panel-applet.c
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 7d6ab4ac..642b3b92 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -1813,7 +1813,7 @@ mate_panel_applet_constructor (GType type, return object; #ifdef HAVE_X11 - if (!GDK_IS_X11_DISPLAY (gdk_display_get_default ())) + if (GDK_IS_X11_DISPLAY (gdk_display_get_default ())) { applet->priv->plug = gtk_plug_new (0); @@ -1832,7 +1832,7 @@ mate_panel_applet_constructor (GType type, applet); gtk_container_add (GTK_CONTAINER (applet->priv->plug), GTK_WIDGET (applet)); - } + } else #endif { // not using X11 g_warning ("Requested construction of an out-of-process applet, which is only possible on X11"); |