diff --git gtk/gtkwindow.c gtk/gtkwindow.c
index e846c41..7f5aae7 100644
|
|
gtk_window_constructed (GObject *object) |
1601 | 1601 | { |
1602 | 1602 | GtkWindow *window = GTK_WINDOW (object); |
1603 | 1603 | GtkWindowPrivate *priv = window->priv; |
| 1604 | gboolean is_plug; |
1604 | 1605 | |
1605 | 1606 | G_OBJECT_CLASS (gtk_window_parent_class)->constructed (object); |
1606 | 1607 | |
1607 | | if (priv->type == GTK_WINDOW_TOPLEVEL && !GTK_IS_PLUG (window)) |
| 1608 | #ifdef GDK_WINDOWING_X11 |
| 1609 | is_plug = GTK_IS_PLUG (window); |
| 1610 | #else |
| 1611 | is_plug = FALSE; |
| 1612 | #endif |
| 1613 | |
| 1614 | if (priv->type == GTK_WINDOW_TOPLEVEL && !is_plug) |
1608 | 1615 | { |
1609 | 1616 | priv->multipress_gesture = gtk_gesture_multi_press_new (GTK_WIDGET (object)); |
1610 | 1617 | gtk_gesture_single_set_button (GTK_GESTURE_SINGLE (priv->multipress_gesture), 0); |