[gnome-calendar] source-dialog: correctly check for any leftover resources
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: correctly check for any leftover resources
- Date: Mon, 25 May 2015 16:51:53 +0000 (UTC)
commit 7afc2b0c2977d8c559f32baaeff3c16718408a2d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Feb 23 23:36:07 2015 -0300
source-dialog: correctly check for any leftover resources
src/gcal-source-dialog.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index e20f3f3..17d07d8 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -465,6 +465,12 @@ url_entry_text_changed (GObject *object,
gtk_entry_set_progress_fraction (GTK_ENTRY (priv->calendar_address_entry), 0);
}
+ if (priv->validate_url_resource_id != 0)
+ {
+ g_source_remove (priv->validate_url_resource_id);
+ priv->validate_url_resource_id = 0;
+ }
+
if (g_utf8_strlen (text, -1) != 0)
{
// Remove any previous unreleased resource
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]