gui: Fix warnings due to missing GObject type conversions.
[pspp] / src / ui / gui / psppire-dialog-action-roc.c
index 5d25132fdc06ee3357613ffa9faec0126a3a104f..fc0bb7be4469cbff46f6acab4954687f65ef33e0 100644 (file)
@@ -77,8 +77,9 @@ on_curve_button_toggle (GtkCheckButton *curve, PsppireDialogActionRoc *rd)
 }
 
 static void
-refresh (PsppireDialogActionRoc *rd)
+refresh (PsppireDialogAction *rd_)
 {
+  PsppireDialogActionRoc *rd = PSPPIRE_DIALOG_ACTION_ROC (rd_);
   GtkTreeModel *liststore =
     gtk_tree_view_get_model (GTK_TREE_VIEW (rd->test_variables));
   gtk_list_store_clear (GTK_LIST_STORE (liststore));