diff --git a/src/shell-embedded-window.c b/src/shell-embedded-window.c
index a12d7d6..3959560 100644
--- a/src/shell-embedded-window.c
+++ b/src/shell-embedded-window.c
@@ -168,7 +168,6 @@ shell_embedded_window_init (ShellEmbeddedWindow *window)
    */
   g_object_set (G_OBJECT (window),
                 "resize-mode", GTK_RESIZE_IMMEDIATE,
-                "type", GTK_WINDOW_POPUP,
                 NULL);
 }
 
@@ -241,5 +240,6 @@ GtkWidget *
 shell_embedded_window_new (void)
 {
   return g_object_new (SHELL_TYPE_EMBEDDED_WINDOW,
+                       "type", GTK_WINDOW_POPUP,
                        NULL);
 }
