aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r--calendar/gui/tasks-control.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index 1be68ac35e..e2d3ee6070 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -64,11 +64,11 @@ static void tasks_control_purge_cmd (BonoboUIComponent *uic,
const char *path);
static void tasks_control_assign_cmd (BonoboUIComponent *uic,
gpointer data,
- const char *path);
+ const gchar *path);
static void tasks_control_forward_cmd (BonoboUIComponent *uic,
gpointer data,
- const char *path);
+ const gchar *path);
struct _tasks_sensitize_item {
const gchar *command;
@@ -79,7 +79,7 @@ static void
sensitize_items(BonoboUIComponent *uic, struct _tasks_sensitize_item *items, guint32 mask)
{
while (items->command) {
- char command[32];
+ gchar command[32];
if (strlen(items->command)>=21) {
g_warning ("Size more than 21: %s\n", items->command);
@@ -114,7 +114,7 @@ static struct _tasks_sensitize_item tasks_sensitize_table[] = {
* selected tasks.
*/
void
-tasks_control_sensitize_commands (BonoboControl *control, ETasks *tasks, int n_selected)
+tasks_control_sensitize_commands (BonoboControl *control, ETasks *tasks, gint n_selected)
{
BonoboUIComponent *uic;
gboolean read_only = TRUE;
@@ -164,7 +164,7 @@ tasks_control_sensitize_commands (BonoboControl *control, ETasks *tasks, int n_s
/* Callback used when the selection in the table changes */
static void
-selection_changed_cb (ETasks *tasks, int n_selected, gpointer data)
+selection_changed_cb (ETasks *tasks, gint n_selected, gpointer data)
{
BonoboControl *control;
@@ -197,11 +197,11 @@ tasks_control_activate (BonoboControl *control, ETasks *tasks)
{
Bonobo_UIContainer remote_uih;
BonoboUIComponent *uic;
- int n_selected;
+ gint n_selected;
ECalendarTable *cal_table;
ETable *etable;
gboolean state;
- char *xmlfile;
+ gchar *xmlfile;
uic = bonobo_control_get_ui_component (control);
g_return_if_fail (uic != NULL);
@@ -295,7 +295,7 @@ static gboolean
confirm_purge (ETasks *tasks)
{
GtkWidget *dialog, *checkbox, *parent;
- int button;
+ gint button;
if (!calendar_config_get_confirm_purge ())
return TRUE;