Browse files

Make schedule_operation() const correct.

  • Loading branch information...
1 parent e3eb3d9 commit e36e72515e735d97fb4773acad58592c34a9594e @erikd committed Jan 26, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 include/sweep/sweep_undo.h
  2. +2 −2 src/sweep_undo.c
View
4 include/sweep/sweep_undo.h
@@ -27,11 +27,11 @@ gint
update_edit_progress (gpointer data);
sw_op_instance *
-sw_op_instance_new (sw_sample * sample, char * description,
+sw_op_instance_new (sw_sample * sample, const char * description,
sw_operation * operation);
void
-schedule_operation (sw_sample * sample, char * description,
+schedule_operation (sw_sample * sample, const char * description,
sw_operation * operation, void * do_data);
void
View
4 src/sweep_undo.c
@@ -236,7 +236,7 @@ sw_op_instance_clear (sw_op_instance * inst)
}
sw_op_instance *
-sw_op_instance_new (sw_sample * sample, char * desc, sw_operation * op)
+sw_op_instance_new (sw_sample * sample, const char * desc, sw_operation * op)
{
sw_op_instance * inst;
@@ -296,7 +296,7 @@ schedule_operation_ok_cb (GtkWidget * widget, gpointer data)
}
void
-schedule_operation (sw_sample * sample, char * description,
+schedule_operation (sw_sample * sample, const char * description,
sw_operation * operation, void * do_data)
{
sw_op_instance * inst;

0 comments on commit e36e725

Please sign in to comment.