diff options
author | Simon Zheng <Simon.Zheng@Sun.Com> | 2005-11-29 19:15:23 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-11-29 19:15:23 +0800 |
commit | f9ea878ce0af4b24b141facf701908bd67c674a6 (patch) | |
tree | d9deeb3fec1d74d5afc3ce22a56cb9b75ca9a540 /plugins/copy-tool | |
parent | d945a55a5f8fcffc74545d8d42394bcecdea2402 (diff) | |
download | gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.gz gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.bz2 gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.lz gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.xz gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.tar.zst gsoc2013-evolution-f9ea878ce0af4b24b141facf701908bd67c674a6.zip |
Fix for 322733.
2005-11-29 Simon Zheng <Simon.Zheng@Sun.Com>
Fix for 322733.
* copy-tool.c: (ct_selection_get): Move printf() statement after
NULL checking.
svn path=/trunk/; revision=30706
Diffstat (limited to 'plugins/copy-tool')
-rw-r--r-- | plugins/copy-tool/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/copy-tool/copy-tool.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/copy-tool/ChangeLog b/plugins/copy-tool/ChangeLog index 3bc66f2ef1..fc391e095a 100644 --- a/plugins/copy-tool/ChangeLog +++ b/plugins/copy-tool/ChangeLog @@ -1,3 +1,10 @@ +2005-11-29 Simon Zheng <Simon.Zheng@Sun.Com> + + Fix for 322733. + + * copy-tool.c: (ct_selection_get): Move printf() statement after + NULL checking. + 2005-05-11 Not Zed <NotZed@Ximian.com> * Makefile.am: added built_sources/cleanfiles. diff --git a/plugins/copy-tool/copy-tool.c b/plugins/copy-tool/copy-tool.c index 5571ba25c1..ad28dfde1a 100644 --- a/plugins/copy-tool/copy-tool.c +++ b/plugins/copy-tool/copy-tool.c @@ -44,11 +44,11 @@ org_gnome_copy_tool_copy_address(void *ep, EMPopupTargetURI *t) static void ct_selection_get(GtkWidget *widget, GtkSelectionData *data, guint info, guint time_stamp, void *dummy) { - printf("get selection, address is '%s'\n", address_uri); - if (address_uri == NULL) return; + printf("get selection, address is '%s'\n", address_uri); + if (strncmp (address_uri, "mailto:", 7) == 0) { CamelInternetAddress *cia = camel_internet_address_new(); CamelURL *curl; |