You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
#include <config.h>
#include "psppire-dialog-action-histogram.h"
static void
psppire_dialog_action_histogram_class_init (PsppireDialogActionHistogramClass *class)
{
- GtkActionClass *action_class = GTK_ACTION_CLASS (class);
-
- action_class->activate = psppire_dialog_action_histogram_activate;
+ psppire_dialog_action_set_activation (class, psppire_dialog_action_histogram_activate);
PSPPIRE_DIALOG_ACTION_CLASS (class)->generate_syntax = generate_syntax;
}
static void
psppire_dialog_action_scatterplot_class_init (PsppireDialogActionScatterplotClass *class)
{
- GtkActionClass *action_class = GTK_ACTION_CLASS (class);
+ psppire_dialog_action_set_activation (class, psppire_dialog_action_scatterplot_activate);
- action_class->activate = psppire_dialog_action_scatterplot_activate;
PSPPIRE_DIALOG_ACTION_CLASS (class)->generate_syntax = generate_syntax;
}