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/calendar-commands.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/calendar-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index 8f2aba9988..d756f52cff 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -35,6 +35,7 @@ #include <gdk-pixbuf/gdk-pixbuf.h> #include <gtk/gtkfilesel.h> +#include <gtk/gtklabel.h> #include <gtk/gtkmain.h> #include <gtk/gtksignal.h> #include <gtk/gtkspinbutton.h> @@ -344,7 +345,7 @@ static void purge_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; - GtkWidget *dialog, *parent, *box, *label, *spin, *unit; + GtkWidget *dialog, *parent, *box, *label, *spin; int response; gcal = GNOME_CALENDAR (data); @@ -352,7 +353,7 @@ purge_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) /* create the dialog */ parent = gtk_widget_get_toplevel (GTK_WIDGET (gcal)); dialog = gtk_message_dialog_new ( - parent, + (GtkWindow *)parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, |