aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 10:10:05 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 10:10:05 +0800
commita01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e (patch)
tree51415e9b150ae8e8de2db5a3d7c529f90829bd90 /calendar/gui/gnome-cal.c
parent677df14504c5ad80efbb417c6ceea8d8494e583d (diff)
downloadgsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.gz
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.bz2
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.lz
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.xz
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.zst
gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.zip
Fix compiler warnings in the calendar directory (#439122).
svn path=/trunk/; revision=33625
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index ee049ebf6c..3c27eb3fe2 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2770,15 +2770,15 @@ backend_error_cb (ECal *client, const char *message, gpointer data)
uristr = get_uri_without_password (e_cal_get_uri (client));
- dialog = gtk_message_dialog_new (
+ dialog = GTK_DIALOG (gtk_message_dialog_new (
GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (gcal))),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Error on %s:\n %s"),
- uristr, message);
+ uristr, message));
gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
+ gtk_widget_destroy (GTK_WIDGET (dialog));
g_free (uristr);
}