aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-06 16:07:56 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-06 16:07:56 +0800
commita051d7ea7ee3066a0492584e45967a3daa0fb15b (patch)
treed2aa33f55767fccb4ed44cb148decffd196c66b4
parentbba40f1d2ea8d844b6fecdf77cf69fef93ff7217 (diff)
downloadgsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar.gz
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar.bz2
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar.lz
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar.xz
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.tar.zst
gsoc2013-evolution-a051d7ea7ee3066a0492584e45967a3daa0fb15b.zip
Calendar's "Open Web Page" actions doesn't work
-rw-r--r--modules/calendar/e-cal-shell-view-memopad.c2
-rw-r--r--modules/calendar/e-cal-shell-view-taskpad.c2
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c2
-rw-r--r--modules/calendar/e-task-shell-view-actions.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/calendar/e-cal-shell-view-memopad.c b/modules/calendar/e-cal-shell-view-memopad.c
index 7fdf356304..e88aa3a546 100644
--- a/modules/calendar/e-cal-shell-view-memopad.c
+++ b/modules/calendar/e-cal-shell-view-memopad.c
@@ -139,7 +139,7 @@ action_calendar_memopad_open_url_cb (GtkAction *action,
/* XXX We only open the URI of the first selected memo. */
prop = icalcomponent_get_first_property (
comp_data->icalcomp, ICAL_URL_PROPERTY);
- g_return_if_fail (prop == NULL);
+ g_return_if_fail (prop != NULL);
uri = icalproperty_get_url (prop);
e_show_uri (GTK_WINDOW (shell_window), uri);
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c
index a00e630afd..b1eb390616 100644
--- a/modules/calendar/e-cal-shell-view-taskpad.c
+++ b/modules/calendar/e-cal-shell-view-taskpad.c
@@ -206,7 +206,7 @@ action_calendar_taskpad_open_url_cb (GtkAction *action,
/* XXX We only open the URI of the first selected task. */
prop = icalcomponent_get_first_property (
comp_data->icalcomp, ICAL_URL_PROPERTY);
- g_return_if_fail (prop == NULL);
+ g_return_if_fail (prop != NULL);
uri = icalproperty_get_url (prop);
e_show_uri (GTK_WINDOW (shell_window), uri);
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index c915da2a24..2ed1f9c4ce 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -421,7 +421,7 @@ action_memo_open_url_cb (GtkAction *action,
/* XXX We only open the URI of the first selected memo. */
prop = icalcomponent_get_first_property (
comp_data->icalcomp, ICAL_URL_PROPERTY);
- g_return_if_fail (prop == NULL);
+ g_return_if_fail (prop != NULL);
uri = icalproperty_get_url (prop);
e_show_uri (GTK_WINDOW (shell_window), uri);
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index 5372299956..66cf26a696 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -488,7 +488,7 @@ action_task_open_url_cb (GtkAction *action,
/* XXX We only open the URI of the first selected task. */
prop = icalcomponent_get_first_property (
comp_data->icalcomp, ICAL_URL_PROPERTY);
- g_return_if_fail (prop == NULL);
+ g_return_if_fail (prop != NULL);
uri = icalproperty_get_url (prop);
e_show_uri (GTK_WINDOW (shell_window), uri);