aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c8
-rw-r--r--modules/mail/e-mail-shell-view-private.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 4056a7b08f..c8bec966d2 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -1007,7 +1007,7 @@ action_mail_label_cb (GtkToggleAction *action,
camel_folder_thaw (folder);
g_clear_object (&folder);
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
}
static void
@@ -1080,7 +1080,7 @@ action_mail_label_new_cb (GtkAction *action,
folder, uids->pdata[ii], label_tag, TRUE);
g_clear_object (&folder);
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
g_free (label_tag);
@@ -1143,7 +1143,7 @@ action_mail_label_none_cb (GtkAction *action,
}
g_clear_object (&folder);
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
}
static void
@@ -2390,7 +2390,7 @@ e_mail_shell_view_update_popup_labels (EMailShellView *mail_shell_view)
ii++;
}
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
}
void
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index 16971771de..61cfd8b7ac 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -1086,7 +1086,7 @@ e_mail_shell_view_update_sidebar (EMailShellView *mail_shell_view)
num_visible), num_visible);
}
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
uid = camel_service_get_uid (CAMEL_SERVICE (parent_store));
store_is_local = (g_strcmp0 (uid, E_MAIL_SESSION_LOCAL_UID) == 0);