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