~ubuntu-branches/debian/sid/xfce4-clipman-plugin/sid

« back to all changes in this revision

Viewing changes to daemon/gsd-clipboard-manager.c

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Lionel Le Folgoc, Yves-Alexis Perez
  • Date: 2010-05-30 19:44:10 UTC
  • Revision ID: james.westby@ubuntu.com-20100530194410-4e6bx2wsdmkey5p1
Tags: 2:1.1.3-3
[ Lionel Le Folgoc ]
* debian/patches/0001-daemon-Fix-possible-NULL-values-bug-6119-6120.patch:
  fix crash occurring on panel shutdown. lp: #532537

[ Yves-Alexis Perez ]
* Switch format to 3.0 (quilt).
* debian/control:
  - add Lionel to Uploaders, with his permission.
  - update standards version to 3.8.4.
  - update debhelper build-dep for overrides.
* debian/rules:
  - switch to dh7 rules.
* debian/*.docs: add docs using dh_installdocs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
        GtkSelectionData *selection_data_cache = NULL;
122
122
 
123
123
        list = manager->priv->default_cache;
124
 
        for (; list->next != NULL; list = list->next) {
 
124
        for (; list != NULL && list->next != NULL; list = list->next) {
125
125
                selection_data_cache = list->data;
126
126
                if (selection_data->target == selection_data_cache->target) {
127
127
                        break;
154
154
        GtkSelectionData *sdata;
155
155
        GSList           *list;
156
156
 
 
157
        list = manager->priv->default_cache;
 
158
        if (list == NULL) {
 
159
                return;
 
160
        }
157
161
        target_list = gtk_target_list_new (NULL, 0);
158
 
        list = manager->priv->default_cache;
159
162
        for (; list->next != NULL; list = list->next) {
160
163
                sdata = list->data;
161
164
                gtk_target_list_add (target_list, sdata->target, 0, 0);