From a051d7ea7ee3066a0492584e45967a3daa0fb15b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 6 Oct 2010 10:07:56 +0200 Subject: Calendar's "Open Web Page" actions doesn't work --- modules/calendar/e-memo-shell-view-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/calendar/e-memo-shell-view-actions.c') 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); -- cgit v1.2.3