[evolution/gnome-2-32] Calendar's "Open Web Page" actions doesn't work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-32] Calendar's "Open Web Page" actions doesn't work
- Date: Wed, 6 Oct 2010 08:10:01 +0000 (UTC)
commit d8a73429ce9e315a096f0133b94c955d771e719a
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 6 10:09:34 2010 +0200
Calendar's "Open Web Page" actions doesn't work
modules/calendar/e-cal-shell-view-memopad.c | 2 +-
modules/calendar/e-cal-shell-view-taskpad.c | 2 +-
modules/calendar/e-memo-shell-view-actions.c | 2 +-
modules/calendar/e-task-shell-view-actions.c | 2 +-
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 267f814..f3f716d 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 c7269bc..5f7c696 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 c915da2..2ed1f9c 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 5372299..66cf26a 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]