Provide wrapper for gtk_menu_popup_at_pointer.
[pspp] / src / ui / gui / options-dialog.c
index e2c28940398bdb4b2be67f32898ed849146cc3c6..c50048060212a0c9e847dfd88414966a4d98e5e3 100644 (file)
@@ -90,7 +90,7 @@ options_dialog (PsppireDataWindow *de)
   fd.maximize = get_widget_assert (fd.xml, "checkbutton-maximize");
   fd.alert    = get_widget_assert (fd.xml, "checkbutton-alert");
   fd.raise    = get_widget_assert (fd.xml, "checkbutton-raise");
-  
+
   gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
 
   fd.conf = psppire_conf_new ();
@@ -129,20 +129,20 @@ options_dialog (PsppireDataWindow *de)
                                  &status))
       gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (fd.maximize), status);
   }
-  
+
   {
     gboolean status = true;
     psppire_conf_get_boolean (fd.conf, "OutputWindowAction", "alert", &status);
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (fd.alert), status);
   }
-  
+
   {
     gboolean status;
     if (psppire_conf_get_boolean (fd.conf, "OutputWindowAction", "raise",
                                  &status))
       gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (fd.raise), status);
   }
-  
+
   const int result = psppire_dialog_run (PSPPIRE_DIALOG (dialog));
 
   if (result == GTK_RESPONSE_OK)
@@ -165,7 +165,7 @@ options_dialog (PsppireDataWindow *de)
        {
          sort_order = PSPP_OPTIONS_VAR_ORDER_UNSORTED;
        }
-       
+
       psppire_conf_set_enum (fd.conf,
                             "VariableLists", "sort-order",
                             PSPP_TYPE_OPTIONS_VAR_ORDER,
@@ -174,7 +174,7 @@ options_dialog (PsppireDataWindow *de)
       psppire_conf_set_boolean (fd.conf, "OutputWindowAction", "maximize",
                                gtk_toggle_button_get_active
                                (GTK_TOGGLE_BUTTON (fd.maximize)));
-      
+
       psppire_conf_set_boolean (fd.conf, "OutputWindowAction", "raise",
                                gtk_toggle_button_get_active
                                (GTK_TOGGLE_BUTTON (fd.raise)));