diff options
author | Dan Winship <danw@src.gnome.org> | 2003-07-23 23:05:03 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-07-23 23:05:03 +0800 |
commit | d5ce44bd78a6e5f9d722d299bc983928c10f160f (patch) | |
tree | cbb907262f76347d05a315a6ace7612e4579a05c /calendar/gui/tasks-control.c | |
parent | c1cfb3197a6378341e6bdfb2c69ecd6621ca0c96 (diff) | |
download | gsoc2013-evolution-d5ce44bd78a6e5f9d722d299bc983928c10f160f.tar.gz gsoc2013-evolution-d5ce44bd78a6e5f9d722d299bc983928c10f160f.tar.zst gsoc2013-evolution-d5ce44bd78a6e5f9d722d299bc983928c10f160f.zip |
Fix an unused variable
* gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix
an unused variable
* gui/calendar-commands.c (purge_cmd): Fix warnings.
* gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match
the actual functions
* gui/control-factory.c: add some missing #includes
* gui/dialogs/delete-comp.c (delete_component_dialog): Fix a
warning
* gui/e-itip-control.c (write_label_piece): Remove unused variable.
* gui/print.c (print_calendar): Remove unused variable
(print_comp): Likewise.
* gui/tasks-control.c (confirm_purge): Fix warnings.
(print_tasks): Remove unused variable.
svn path=/trunk/; revision=21905
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r-- | calendar/gui/tasks-control.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c index 7430adf61c..5ed9faa0d6 100644 --- a/calendar/gui/tasks-control.c +++ b/calendar/gui/tasks-control.c @@ -433,7 +433,7 @@ tasks_control_complete_cmd (BonoboUIComponent *uic, static gboolean confirm_purge (ETasks *tasks) { - GtkWidget *dialog, *label, *checkbox, *parent; + GtkWidget *dialog, *checkbox, *parent; int button; if (!calendar_config_get_confirm_purge ()) @@ -441,7 +441,7 @@ confirm_purge (ETasks *tasks) parent = gtk_widget_get_toplevel (GTK_WIDGET (tasks)); dialog = gtk_message_dialog_new ( - parent, + (GtkWindow *)parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, @@ -506,7 +506,7 @@ print_tasks (ETasks *tasks, gboolean preview) ETable *etable; GnomePrintContext *pc; GnomePrintJob *gpm; - double l, r, t, b, page_width, page_height, left_margin, bottom_margin, temp_d; + double l, r, t, b, page_width, page_height, left_margin, bottom_margin; if (!print_config) print_config = gnome_print_config_default (); |