[gnome-todo] edit-pane: change binding source & dest
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] edit-pane: change binding source & dest
- Date: Wed, 24 Jun 2015 19:15:31 +0000 (UTC)
commit e0b84d1327ed2f2a04d2f990b5ac0e49e5a38a6a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jun 24 16:13:31 2015 -0300
edit-pane: change binding source & dest
src/gtd-edit-pane.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtd-edit-pane.c b/src/gtd-edit-pane.c
index c33a5a1..840eec7 100644
--- a/src/gtd-edit-pane.c
+++ b/src/gtd-edit-pane.c
@@ -419,10 +419,10 @@ gtd_edit_pane_set_task (GtdEditPane *pane,
gtk_text_buffer_set_text (gtk_text_view_get_buffer (priv->notes_textview),
gtd_task_get_description (task),
-1);
- priv->notes_binding = g_object_bind_property (task,
- "description",
- gtk_text_view_get_buffer (priv->notes_textview),
+ priv->notes_binding = g_object_bind_property (gtk_text_view_get_buffer (priv->notes_textview),
"text",
+ task,
+ "description",
G_BINDING_BIDIRECTIONAL);
/* priority */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]