evolution-data-server/abuild.patch

39 lines
1.7 KiB
Diff

Index: evolution-data-server-1.11.5/addressbook/backends/groupwise/e-book-backend-groupwise.c
===================================================================
--- evolution-data-server-1.11.5.orig/addressbook/backends/groupwise/e-book-backend-groupwise.c
+++ evolution-data-server-1.11.5/addressbook/backends/groupwise/e-book-backend-groupwise.c
@@ -2449,11 +2449,6 @@ find_book_view (EBookBackendGroupwise *e
EIterator *iter;
EDataBookView *rv = NULL;
- if (!iter) {
- g_object_unref (views);
- return NULL;
- }
-
if (!views)
return NULL;
Index: evolution-data-server-1.11.5/libedataserverui/e-name-selector-entry.c
===================================================================
--- evolution-data-server-1.11.5.orig/libedataserverui/e-name-selector-entry.c
+++ evolution-data-server-1.11.5/libedataserverui/e-name-selector-entry.c
@@ -2057,7 +2057,7 @@ popup_activate_cut (ENameSelectorEntry *
g_signal_handlers_block_by_func (name_selector_entry, user_delete_text, name_selector_entry);
clipboard = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
- pemail = g_strconcat (contact_email, ",");
+ pemail = g_strconcat (contact_email, ",", NULL);
gtk_clipboard_set_text (clipboard, pemail, strlen (pemail));
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
@@ -2086,7 +2086,7 @@ popup_activate_copy (ENameSelectorEntry
g_signal_handlers_block_by_func (name_selector_entry, user_delete_text, name_selector_entry);
clipboard = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
- pemail = g_strconcat (contact_email, ",");
+ pemail = g_strconcat (contact_email, ",", NULL);
gtk_clipboard_set_text (clipboard, pemail, strlen (pemail));
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);