aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-24 03:07:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-24 03:07:20 +0800
commitc9e803d8e6d16134cb7feccd5686cff00e171b2b (patch)
tree9a0470b6d0ac3239b474adefb999da2480b3226a /calendar
parentfa360fde289f9b850191f89059d1a5e6d67c07c7 (diff)
downloadgsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar.gz
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar.bz2
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar.lz
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar.xz
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.tar.zst
gsoc2013-evolution-c9e803d8e6d16134cb7feccd5686cff00e171b2b.zip
Some minor fixes before I dive into calendar again.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/event-editor.c2
-rw-r--r--calendar/gui/e-cal-component-preview.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 6f0f338bf4..e7d602c335 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -670,7 +670,7 @@ event_editor_new (ECal *client,
CompEditorFlags flags)
{
g_return_val_if_fail (E_IS_CAL (client), NULL);
- g_return_val_if_fail (E_IS_SHELL (client), NULL);
+ g_return_val_if_fail (E_IS_SHELL (shell), NULL);
return g_object_new (
TYPE_EVENT_EDITOR,
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index 0374e1f093..de6f6fcd3d 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -326,7 +326,6 @@ cal_component_preview_class_init (ECalComponentPreviewClass *class)
static void
cal_component_preview_init (ECalComponentPreview *preview)
{
- ECalComponentPreviewPrivate *priv;
GtkHTML *html;
preview->priv = E_CAL_COMPONENT_PREVIEW_GET_PRIVATE (preview);
@@ -335,7 +334,7 @@ cal_component_preview_init (ECalComponentPreview *preview)
gtk_html_set_default_content_type (html, "charset=utf-8");
gtk_html_load_empty (html);
- priv->zone = icaltimezone_get_utc_timezone ();
+ preview->priv->zone = icaltimezone_get_utc_timezone ();
}
GType