Used type casenumber in GUI code where appropriate. Also, generally
[pspp-builds.git] / src / ui / gui / psppire-dialog.c
index b978880196448a9ba59d2b638fcd23ad6ca35c03..d961c7dcf02c48c559c6da074ff4d24980833c20 100644 (file)
@@ -231,6 +231,9 @@ psppire_dialog_init (PsppireDialog *dialog)
   g_value_init (&value, orientation_spec->value_type);
   g_param_value_set_default (orientation_spec, &value);
 
+  gtk_window_set_type_hint (GTK_WINDOW (dialog),
+       GDK_WINDOW_TYPE_HINT_DIALOG);
+
   dialog_set_orientation (dialog, &value);
 
   g_value_unset (&value);
@@ -239,6 +242,9 @@ psppire_dialog_init (PsppireDialog *dialog)
                    G_CALLBACK (delete_event_callback),
                    dialog);
 
+  gtk_window_set_type_hint (GTK_WINDOW (dialog),
+       GDK_WINDOW_TYPE_HINT_DIALOG);
+
   gtk_widget_show_all (dialog->box);
 }