~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to libedataserverui/e-destination-store.c

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
start_destination (EDestinationStore *destination_store,
279
279
                   EDestination *destination)
280
280
{
281
 
        g_signal_connect_swapped (destination, "changed",
282
 
                                  G_CALLBACK (destination_changed), destination_store);
 
281
        g_signal_connect_swapped (
 
282
                destination, "changed",
 
283
                G_CALLBACK (destination_changed), destination_store);
283
284
}
284
285
 
285
286
static void
286
287
stop_destination (EDestinationStore *destination_store,
287
288
                  EDestination *destination)
288
289
{
289
 
        g_signal_handlers_disconnect_matched (destination, G_SIGNAL_MATCH_DATA,
290
 
                                              0, 0, NULL, NULL, destination_store);
 
290
        g_signal_handlers_disconnect_matched (
 
291
                destination, G_SIGNAL_MATCH_DATA,
 
292
                0, 0, NULL, NULL, destination_store);
291
293
}
292
294
 
293
295
/* --------------- *
402
404
        g_ptr_array_set_size (array, array->len + 1);
403
405
 
404
406
        if (array->len - 1 - index > 0) {
405
 
                memmove (array->pdata + index + 1,
406
 
                         array->pdata + index,
407
 
                         (array->len - 1 - index) * sizeof (gpointer));
 
407
                memmove (
 
408
                        array->pdata + index + 1,
 
409
                        array->pdata + index,
 
410
                        (array->len - 1 - index) * sizeof (gpointer));
408
411
        }
409
412
 
410
413
        array->pdata[index] = destination;
711
714
                                if (e_contact_get (contact, E_CONTACT_IS_LIST)) {
712
715
                                        string = e_destination_get_name (destination);
713
716
                                        string_new = g_string_new (string);
714
 
                                        string_new = g_string_append(string_new, " mailing list");
 
717
                                        string_new = g_string_append (string_new, " mailing list");
715
718
                                        g_value_set_string (value, string_new->str);
716
719
                                        g_string_free (string_new, TRUE);
717
720
                                }