Commit e012caf1 authored by Mikael Magnusson's avatar Mikael Magnusson

plug-ins: imagemap, tabs to spaces

parent 8f294661
......@@ -66,14 +66,14 @@ browse_cb (GtkWidget *widget,
GtkWidget *dialog;
dialog = browse->file_chooser =
gtk_file_chooser_dialog_new (browse->name,
GTK_WINDOW (gtk_widget_get_toplevel (widget)),
GTK_FILE_CHOOSER_ACTION_OPEN,
gtk_file_chooser_dialog_new (browse->name,
GTK_WINDOW (gtk_widget_get_toplevel (widget)),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
NULL);
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
......@@ -83,8 +83,8 @@ browse_cb (GtkWidget *widget,
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
g_signal_connect (dialog, "destroy",
G_CALLBACK (gtk_widget_destroyed),
&dialog);
G_CALLBACK (gtk_widget_destroyed),
&dialog);
g_signal_connect (dialog, "response",
G_CALLBACK (select_cb),
browse);
......@@ -94,7 +94,7 @@ browse_cb (GtkWidget *widget,
static void
handle_drop(GtkWidget *widget, GdkDragContext *context, gint x, gint y,
GtkSelectionData *data, guint info, guint time)
GtkSelectionData *data, guint info, guint time)
{
gboolean success = FALSE;
......@@ -130,9 +130,9 @@ browse_widget_new (const gchar *name)
browse->file = gtk_entry_new ();
gtk_box_pack_start (GTK_BOX(browse->hbox), browse->file, TRUE, TRUE, 0);
gtk_drag_dest_set (browse->file, GTK_DEST_DEFAULT_ALL, target_table,
2, GDK_ACTION_COPY);
2, GDK_ACTION_COPY);
g_signal_connect (browse->file, "drag-data-received",
G_CALLBACK(handle_drop), NULL);
G_CALLBACK(handle_drop), NULL);
gtk_widget_show (browse->file);
......@@ -143,7 +143,7 @@ browse_widget_new (const gchar *name)
gtk_box_pack_end(GTK_BOX (browse->hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK(browse_cb), (gpointer) browse);
G_CALLBACK(browse_cb), (gpointer) browse);
gtk_widget_show (button);
return browse;
......@@ -157,7 +157,7 @@ browse_widget_set_filename(BrowseWidget_t *browse, const gchar *filename)
void
browse_widget_set_filter(BrowseWidget_t *browse, BrowseFilter_t filter,
gpointer data)
gpointer data)
{
browse->filter = filter;
browse->filter_data = data;
......
This diff is collapsed.
This diff is collapsed.
......@@ -76,7 +76,7 @@ typedef union YYSTYPE
}
/* Line 1489 of yacc.c. */
#line 79 "y.tab.h"
YYSTYPE;
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
......
......@@ -44,7 +44,7 @@ static void circle_draw_sashes(Object_t* obj, GdkWindow *window, GdkGC* gc);
static MoveSashFunc_t circle_near_sash(Object_t *obj, gint x, gint y);
static gboolean circle_point_is_on(Object_t *obj, gint x, gint y);
static void circle_get_dimensions(Object_t *obj, gint *x, gint *y,
gint *width, gint *height);
gint *width, gint *height);
static void circle_resize(Object_t *obj, gint percentage_x, gint percentage_y);
static void circle_move(Object_t *obj, gint dx, gint dy);
static gpointer circle_create_info_widget(GtkWidget *frame);
......@@ -52,24 +52,24 @@ static void circle_fill_info_tab(Object_t *obj, gpointer data);
static void circle_set_initial_focus(Object_t *obj, gpointer data);
static void circle_update(Object_t* obj, gpointer data);
static void circle_write_csim(Object_t* obj, gpointer param,
OutputFunc_t output);
OutputFunc_t output);
static void circle_write_cern(Object_t* obj, gpointer param,
OutputFunc_t output);
OutputFunc_t output);
static void circle_write_ncsa(Object_t* obj, gpointer param,
OutputFunc_t output);
OutputFunc_t output);
static const gchar* circle_get_stock_icon_name(void);
static ObjectClass_t circle_class = {
N_("C_ircle"),
NULL, /* info_dialog */
NULL, /* icon */
NULL, /* mask */
NULL, /* info_dialog */
NULL, /* icon */
NULL, /* mask */
circle_is_valid,
NULL, /* circle_destruct */
NULL, /* circle_destruct */
circle_clone,
circle_assign,
NULL, /* circle_normalize */
NULL, /* circle_normalize */
circle_draw,
circle_draw_sashes,
circle_near_sash,
......@@ -78,7 +78,7 @@ static ObjectClass_t circle_class = {
circle_resize,
circle_move,
circle_create_info_widget,
circle_fill_info_tab, /* circle_update_info_widget */
circle_fill_info_tab, /* circle_update_info_widget */
circle_fill_info_tab,
circle_set_initial_focus,
circle_update,
......@@ -167,7 +167,7 @@ circle_resize(Object_t *obj, gint percentage_x, gint percentage_y)
circle->x = circle->x * percentage_x / 100;
circle->y = circle->y * percentage_y / 100;
circle->r = circle->r * ((percentage_x < percentage_y)
? percentage_x : percentage_y) / 100;
? percentage_x : percentage_y) / 100;
}
static MoveSashFunc_t
......@@ -195,7 +195,7 @@ circle_point_is_on(Object_t *obj, gint x, gint y)
static void
circle_get_dimensions(Object_t *obj, gint *x, gint *y,
gint *width, gint *height)
gint *width, gint *height)
{
Circle_t *circle = ObjectToCircle(obj);
*x = circle->x - circle->r;
......@@ -262,14 +262,14 @@ circle_create_info_widget(GtkWidget *frame)
label = create_label_in_table(table, 0, 0, _("Center _x:"));
props->x = create_spin_button_in_table(table, label, 0, 1, 1, 0,
max_width - 1);
max_width - 1);
g_signal_connect(props->x, "value-changed",
G_CALLBACK (x_changed_cb), (gpointer) props);
create_label_in_table(table, 0, 2, _("pixels"));
label = create_label_in_table(table, 1, 0, _("Center _y:"));
props->y = create_spin_button_in_table(table, label, 1, 1, 1, 0,
max_height - 1);
max_height - 1);
g_signal_connect(props->y, "value-changed",
G_CALLBACK (y_changed_cb), (gpointer) props);
create_label_in_table(table, 1, 2, _("pixels"));
......@@ -318,7 +318,7 @@ circle_write_csim(Object_t *obj, gpointer param, OutputFunc_t output)
{
Circle_t *circle = ObjectToCircle(obj);
output(param, "\"circle\" coords=\"%d,%d,%d\"", circle->x, circle->y,
circle->r);
circle->r);
}
static void
......@@ -333,7 +333,7 @@ circle_write_ncsa(Object_t *obj, gpointer param, OutputFunc_t output)
{
Circle_t *circle = ObjectToCircle(obj);
output(param, "circle %s %d,%d %d,%d", obj->url,
circle->x, circle->y, circle->x, circle->y + circle->r);
circle->x, circle->y, circle->x, circle->y + circle->r);
}
static const gchar*
......@@ -367,9 +367,9 @@ circle_factory_set_xy1(Object_t *obj, guint state, gint x, gint y)
}
static ObjectFactory_t circle_factory1 = {
NULL, /* Object pointer */
NULL, /* Finish func */
NULL, /* Cancel func */
NULL, /* Object pointer */
NULL, /* Finish func */
NULL, /* Cancel func */
circle_factory_create_object1,
circle_factory_set_xy1
};
......@@ -393,9 +393,9 @@ circle_factory_set_xy2(Object_t *obj, guint state, gint x, gint y)
}
static ObjectFactory_t circle_factory2 = {
NULL, /* Object pointer */
NULL, /* Finish func */
NULL, /* Cancel func */
NULL, /* Object pointer */
NULL, /* Finish func */
NULL, /* Cancel func */
circle_factory_create_object2,
circle_factory_set_xy2
};
......
......@@ -31,15 +31,15 @@
static CmdExecuteValue_t clear_command_execute(Command_t *parent);
static CommandClass_t clear_command_class = {
NULL, /* clear_command_destruct */
NULL, /* clear_command_destruct */
clear_command_execute,
NULL, /* clear_command_undo */
NULL /* clear_command_redo */
NULL, /* clear_command_undo */
NULL /* clear_command_redo */
};
typedef struct {
Command_t parent;
ObjectList_t *list;
Command_t parent;
ObjectList_t *list;
} ClearCommand_t;
Command_t*
......@@ -55,7 +55,7 @@ remove_one_object(Object_t *obj, gpointer data)
{
ClearCommand_t *command = (ClearCommand_t*) data;
command_add_subcommand(&command->parent,
delete_command_new(command->list, obj));
delete_command_new(command->list, obj));
}
static CmdExecuteValue_t
......
......@@ -32,10 +32,10 @@ static CmdExecuteValue_t copy_command_execute(Command_t *parent);
static void copy_command_undo(Command_t *parent);
static CommandClass_t copy_command_class = {
NULL, /* copy_command_destruct */
NULL, /* copy_command_destruct */
copy_command_execute,
copy_command_undo,
NULL /* copy_command_redo */
NULL /* copy_command_redo */
};
typedef struct {
......@@ -58,7 +58,7 @@ copy_command_execute(Command_t *parent)
{
CopyCommand_t *command = (CopyCommand_t*) parent;
command->paste_buffer = object_list_copy(command->paste_buffer,
get_paste_buffer());
get_paste_buffer());
object_list_copy_to_paste_buffer(command->list);
return CMD_APPEND;
}
......
......@@ -36,12 +36,12 @@ static CommandClass_t copy_object_command_class = {
copy_object_command_destruct,
copy_object_command_execute,
copy_object_command_undo,
NULL /* copy_object_command_redo */
NULL /* copy_object_command_redo */
};
typedef struct {
Command_t parent;
Object_t *obj;
Object_t *obj;
ObjectList_t *paste_buffer;
} CopyObjectCommand_t;
......@@ -52,7 +52,7 @@ copy_object_command_new(Object_t *obj)
command->obj = object_ref(obj);
command->paste_buffer = NULL;
return command_init(&command->parent, _("Copy"),
&copy_object_command_class);
&copy_object_command_class);
}
static void
......@@ -69,7 +69,7 @@ copy_object_command_execute(Command_t *parent)
ObjectList_t *paste_buffer = get_paste_buffer();
command->paste_buffer = object_list_copy(command->paste_buffer,
paste_buffer);
paste_buffer);
clear_paste_buffer();
object_list_append(paste_buffer, object_clone(command->obj));
......
......@@ -38,14 +38,14 @@ static CommandClass_t create_command_class = {
create_command_destruct,
create_command_execute,
create_command_undo,
NULL /* create_command_redo */
NULL /* create_command_redo */
};
typedef struct {
Command_t parent;
Command_t parent;
ObjectList_t *list;
Object_t *obj;
gboolean changed;
Object_t *obj;
gboolean changed;
} CreateCommand_t;
Command_t*
......
......@@ -36,11 +36,11 @@ static CommandClass_t cut_command_class = {
cut_command_destruct,
cut_command_execute,
cut_command_undo,
NULL /* cut_command_redo */
NULL /* cut_command_redo */
};
typedef struct {
Command_t parent;
Command_t parent;
ObjectList_t *list;
ObjectList_t *paste_buffer;
} CutCommand_t;
......@@ -66,7 +66,7 @@ remove_one_object(Object_t *obj, gpointer data)
{
CutCommand_t *command = (CutCommand_t*) data;
command_add_subcommand(&command->parent,
delete_command_new(command->list, obj));
delete_command_new(command->list, obj));
}
static CmdExecuteValue_t
......@@ -76,7 +76,7 @@ cut_command_execute(Command_t *parent)
gpointer id;
command->paste_buffer = object_list_copy(command->paste_buffer,
get_paste_buffer());
get_paste_buffer());
id = object_list_add_remove_cb(command->list, remove_one_object, command);
object_list_cut(command->list);
object_list_remove_remove_cb(command->list, id);
......
......@@ -31,10 +31,10 @@
static CmdExecuteValue_t cut_object_command_execute(Command_t *parent);
static CommandClass_t cut_object_command_class = {
NULL, /* cut_object_command_destruct */
NULL, /* cut_object_command_destruct */
cut_object_command_execute,
NULL, /* cut_object_command_undo */
NULL /* cut_object_command_redo */
NULL, /* cut_object_command_undo */
NULL /* cut_object_command_redo */
};
typedef struct {
......@@ -48,7 +48,7 @@ cut_object_command_new(Object_t *obj)
Command_t *parent;
parent = command_init(&command->parent, _("Cut"),
&cut_object_command_class);
&cut_object_command_class);
command_add_subcommand(parent, copy_object_command_new(obj));
command_add_subcommand(parent, delete_command_new(obj->list, obj));
......
......@@ -36,15 +36,15 @@ static CommandClass_t delete_command_class = {
delete_command_destruct,
delete_command_execute,
delete_command_undo,
NULL /* delete_command_redo */
NULL /* delete_command_redo */
};
typedef struct {
Command_t parent;
ObjectList_t *list;
Object_t *obj;
gint position;
gboolean changed;
gint position;
gboolean changed;
} DeleteCommand_t;
Command_t*
......@@ -54,7 +54,7 @@ delete_command_new(ObjectList_t *list, Object_t *obj)
command->list = list;
command->obj = object_ref(obj);
return command_init(&command->parent, _("Delete"),
&delete_command_class);
&delete_command_class);
}
static void
......
......@@ -33,18 +33,18 @@ static CmdExecuteValue_t delete_point_command_execute(Command_t *parent);
static void delete_point_command_undo(Command_t *parent);
static CommandClass_t delete_point_command_class = {
NULL, /* delete_point_command_destruct */
NULL, /* delete_point_command_destruct */
delete_point_command_execute,
delete_point_command_undo,
NULL /* delete_point_command_redo */
NULL /* delete_point_command_redo */
};
typedef struct {
Command_t parent;
Command_t parent;
Polygon_t *polygon;
GdkPoint *point;
GdkPoint copy;
gint position;
GdkPoint copy;
gint position;
} DeletePointCommand_t;
Command_t*
......@@ -56,9 +56,9 @@ delete_point_command_new(Object_t *obj, GdkPoint *point)
command->point = point;
command->copy = *point;
command->position = g_list_index(command->polygon->points,
(gpointer) point);
(gpointer) point);
return command_init(&command->parent, _("Delete Point"),
&delete_point_command_class);
&delete_point_command_class);
}
static CmdExecuteValue_t
......@@ -82,5 +82,5 @@ delete_point_command_undo(Command_t *parent)
command->point = new_point(point->x, point->y);
polygon->points = g_list_insert(polygon->points, (gpointer) command->point,
command->position);
command->position);
}
......@@ -33,7 +33,7 @@ static void edit_object_command_undo(Command_t *parent);
static CommandClass_t edit_object_command_class = {
edit_object_command_destruct,
NULL, /* edit_object_command_execute */
NULL, /* edit_object_command_execute */
edit_object_command_undo,
edit_object_command_undo
};
......@@ -51,7 +51,7 @@ edit_object_command_new(Object_t *obj)
command->obj = object_ref(obj);
command->copy = object_clone(obj);
return command_init(&command->parent, _("Edit Object"),
&edit_object_command_class);
&edit_object_command_class);
}
static void
......
......@@ -38,18 +38,18 @@
#include "libgimp/stdplugins-intl.h"
typedef struct {
DefaultDialog_t *dialog;
ObjectList_t *list;
GimpDrawable *drawable;
GtkWidget *alternate;
GtkWidget *all;
GtkWidget *left_border;
GtkWidget *right_border;
GtkWidget *upper_border;
GtkWidget *lower_border;
GtkWidget *url;
DefaultDialog_t *dialog;
ObjectList_t *list;
GimpDrawable *drawable;
GtkWidget *alternate;
GtkWidget *all;
GtkWidget *left_border;
GtkWidget *right_border;
GtkWidget *upper_border;
GtkWidget *lower_border;
GtkWidget *url;
} GimpGuidesDialog_t;
static gint
......@@ -80,7 +80,7 @@ gimp_guides_ok_cb(gpointer data)
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(param->right_border)))
vguides = g_slist_append(vguides,
GINT_TO_POINTER(gimp_image_width(image_ID)));
GINT_TO_POINTER(gimp_image_width(image_ID)));
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(param->upper_border)))
hguides = g_slist_append(NULL, GINT_TO_POINTER(0));
......@@ -89,7 +89,7 @@ gimp_guides_ok_cb(gpointer data)
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(param->lower_border)))
hguides = g_slist_append(hguides,
GINT_TO_POINTER(gimp_image_height(image_ID)));
GINT_TO_POINTER(gimp_image_height(image_ID)));
url = gtk_entry_get_text(GTK_ENTRY(param->url));
......@@ -101,12 +101,12 @@ gimp_guides_ok_cb(gpointer data)
gint position = gimp_image_get_guide_position(image_ID, guide_num);
if (gimp_image_get_guide_orientation(image_ID, guide_num)
== GIMP_ORIENTATION_HORIZONTAL) {
hguides = g_slist_insert_sorted(hguides, GINT_TO_POINTER(position),
guide_sort_func);
} else { /* GIMP_ORIENTATION_VERTICAL */
vguides = g_slist_insert_sorted(vguides, GINT_TO_POINTER(position),
guide_sort_func);
== GIMP_ORIENTATION_HORIZONTAL) {
hguides = g_slist_insert_sorted(hguides, GINT_TO_POINTER(position),
guide_sort_func);
} else { /* GIMP_ORIENTATION_VERTICAL */
vguides = g_slist_insert_sorted(vguides, GINT_TO_POINTER(position),
guide_sort_func);
}
guide_num = gimp_image_find_next_guide(image_ID, guide_num);
}
......@@ -116,18 +116,18 @@ gimp_guides_ok_cb(gpointer data)
subcommand_start(_("Use Gimp Guides"));
for (hg = hguides; hg && hg->next;
hg = (all) ? hg->next : hg->next->next) {
hg = (all) ? hg->next : hg->next->next) {
gint y = GPOINTER_TO_INT(hg->data);
gint height = GPOINTER_TO_INT(hg->next->data) - y;
for (vg = vguides; vg && vg->next;
vg = (all) ? vg->next : vg->next->next) {
gint x = GPOINTER_TO_INT(vg->data);
gint width = GPOINTER_TO_INT(vg->next->data) - x;
Object_t *obj = create_rectangle(x, y, width, height);
Command_t *command = create_command_new(param->list, obj);
object_set_url(obj, url);
command_execute(command);
vg = (all) ? vg->next : vg->next->next) {
gint x = GPOINTER_TO_INT(vg->data);
gint width = GPOINTER_TO_INT(vg->next->data) - x;
Object_t *obj = create_rectangle(x, y, width, height);
Command_t *command = create_command_new(param->list, obj);
object_set_url(obj, url);
command_execute(command);
}
}
......@@ -208,7 +208,7 @@ make_gimp_guides_dialog(void)
static void
init_gimp_guides_dialog(GimpGuidesDialog_t *dialog, ObjectList_t *list,
GimpDrawable *drawable)
GimpDrawable *drawable)
{
dialog->list = list;
dialog->drawable = drawable;
......@@ -229,10 +229,10 @@ do_create_gimp_guides_dialog(ObjectList_t *list, GimpDrawable *drawable)
static CmdExecuteValue_t gimp_guides_command_execute(Command_t *parent);
static CommandClass_t gimp_guides_command_class = {
NULL, /* guides_command_destruct */
NULL, /* guides_command_destruct */
gimp_guides_command_execute,
NULL, /* guides_command_undo */
NULL /* guides_command_redo */
NULL, /* guides_command_undo */
NULL /* guides_command_redo */
};
typedef struct {
......@@ -248,7 +248,7 @@ gimp_guides_command_new(ObjectList_t *list, GimpDrawable *drawable)
command->list = list;
command->drawable = drawable;
return command_init(&command->parent, _("Use Gimp Guides"),
&gimp_guides_command_class);
&gimp_guides_command_class);
}
static CmdExecuteValue_t
......
......@@ -35,20 +35,20 @@
#include "libgimp/stdplugins-intl.h"
typedef struct {
DefaultDialog_t *dialog;
GtkWidget *image_dimensions;
GtkWidget *guide_bounds;
GtkWidget *width;
GtkWidget *height;
GtkWidget *left;
GtkWidget *top;
GtkWidget *horz_spacing;
GtkWidget *vert_spacing;
GtkWidget *no_across;
GtkWidget *no_down;
GtkWidget *base_url;
ObjectList_t *list;
DefaultDialog_t *dialog;
GtkWidget *image_dimensions;
GtkWidget *guide_bounds;
GtkWidget *width;
GtkWidget *height;
GtkWidget *left;
GtkWidget *top;
GtkWidget *horz_spacing;
GtkWidget *vert_spacing;
GtkWidget *no_across;
GtkWidget *no_down;
GtkWidget *base_url;
ObjectList_t *list;
} GuidesDialog_t;
static void
......@@ -75,12 +75,12 @@ guides_ok_cb(gpointer data)
for (i = 0; i < rows; i++) {
gint x = left;
for (j = 0; j < cols; j++) {
Object_t *obj = create_rectangle(x, y, width, height);
Command_t *command = create_command_new(param->list, obj);
Object_t *obj = create_rectangle(x, y, width, height);
Command_t *command = create_command_new(param->list, obj);
object_set_url(obj, gtk_entry_get_text(GTK_ENTRY(param->base_url)));
command_execute(command);
x += width + hspace;
object_set_url(obj, gtk_entry_get_text(GTK_ENTRY(param->base_url)));
command_execute(command);
x += width + hspace;
}
y += height + vspace;
}
......@@ -110,7 +110,7 @@ recalc_bounds(GtkWidget *widget, gpointer data)
bound_h = (height + vspace) * rows - vspace;
bounds = g_strdup_printf (_("Resulting Guide Bounds: %d,%d to %d,%d (%d areas)"),
left, top, left + bound_w, top + bound_h, rows * cols);
left, top, left + bound_w, top + bound_h, rows * cols);
if (left + bound_w > get_image_width() ||
top + bound_h > get_image_height())
{
......@@ -141,9 +141,9 @@ make_guides_dialog (void)
hbox = gimp_hint_box_new (
_("Guides are pre-defined rectangles covering the image. You define "
"them by their width, height, and spacing from each other. This "
"allows you to rapidly create the most common image map type - "
"image collection of \"thumbnails\", suitable for navigation bars."));
"them by their width, height, and spacing from each other. This "
"allows you to rapidly create the most common image map type - "
"image collection of \"thumbnails\", suitable for navigation bars."));
gtk_box_pack_start (GTK_BOX (dialog->vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -189,13 +189,13 @@ make_guides_dialog (void)
label = create_label_in_table(table, 2, 2, _("_No. across:"));
data->no_across = create_spin_button_in_table(table, label, 2, 3, 0, 0,
100);
100);
g_signal_connect (data->no_across, "changed",
G_CALLBACK(recalc_bounds), (gpointer) data);
label = create_label_in_table(table, 3, 0, _("_Vert. spacing:"));
data->vert_spacing = create_spin_button_in_table(table, label, 3, 1, 0, 0,
100);
100);
g_signal_connect (data->vert_spacing, "changed",
G_CALLBACK(recalc_bounds), (gpointer) data);
......@@ -252,10 +252,10 @@ do_create_guides_dialog_local (ObjectList_t *list)
static CmdExecuteValue_t guides_command_execute(Command_t *parent);
static CommandClass_t guides_command_class = {
NULL, /* guides_command_destruct */
NULL, /* guides_command_destruct */
guides_command_execute,
NULL, /* guides_command_undo */
NULL /* guides_command_redo */
NULL, /* guides_command_undo */
NULL /* guides_command_redo */
};
typedef struct {
......
......@@ -34,19 +34,19 @@ static CmdExecuteValue_t insert_point_command_execute(Command_t *parent);
static void insert_point_command_undo(Command_t *parent);
static CommandClass_t insert_point_command_class = {
NULL, /* insert_point_command_destruct */
NULL, /* insert_point_command_destruct */
insert_point_command_execute,
insert_point_command_undo,
NULL /* insert_point_command_redo */
NULL /* insert_point_command_redo */
};
typedef struct {