diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 9356955728..75fc2778dc 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -799,9 +799,6 @@ gdk_surface_new_popup (GdkDisplay *display, surface = gdk_surface_new (display, GDK_SURFACE_POPUP, parent, 0, 0, 100, 100); - gdk_surface_set_transient_for (surface, parent); - gdk_surface_set_type_hint (surface, GDK_SURFACE_TYPE_HINT_MENU); - return surface; }