[gnome-todo] edit-pane: fix description bindings
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] edit-pane: fix description bindings
- Date: Wed, 24 Jun 2015 19:15:26 +0000 (UTC)
commit 9988305d782639cfea8f7eba73d33b35032553ed
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jun 24 16:12:49 2015 -0300
edit-pane: fix description bindings
src/gtd-edit-pane.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gtd-edit-pane.c b/src/gtd-edit-pane.c
index d89065d..c33a5a1 100644
--- a/src/gtd-edit-pane.c
+++ b/src/gtd-edit-pane.c
@@ -78,9 +78,7 @@ gtd_edit_pane__delete_button_clicked (GtkButton *button,
g_signal_emit (user_data, signals[REMOVE_TASK], 0, priv->task);
- g_clear_pointer (&priv->notes_binding, g_binding_unbind);
- g_clear_pointer (&priv->priority_binding, g_binding_unbind);
- priv->task = NULL;
+ gtd_edit_pane_set_task (GTD_EDIT_PANE (user_data), NULL);
}
static void
@@ -98,7 +96,7 @@ gtd_edit_pane__close_button_clicked (GtkButton *button,
g_signal_emit (user_data, signals[EDIT_FINISHED], 0, priv->task);
- priv->task = NULL;
+ gtd_edit_pane_set_task (GTD_EDIT_PANE (user_data), NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]