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/dialogs | |
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/dialogs')
-rw-r--r-- | calendar/gui/dialogs/delete-comp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c index b222bc7285..b29c6305ce 100644 --- a/calendar/gui/dialogs/delete-comp.c +++ b/calendar/gui/dialogs/delete-comp.c @@ -150,7 +150,7 @@ delete_component_dialog (CalComponent *comp, } } - dialog = gtk_message_dialog_new (gtk_widget_get_toplevel (widget), + dialog = gtk_message_dialog_new ((GtkWindow *)gtk_widget_get_toplevel (widget), 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", str); g_free (str); ret = gtk_dialog_run ((GtkDialog *)dialog) == GTK_RESPONSE_YES; |