[gnome-notes/implement-select-all: 3/3] list-view-row: fix signal emit failure
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes/implement-select-all: 3/3] list-view-row: fix signal emit failure
- Date: Tue, 4 Aug 2020 23:42:42 +0000 (UTC)
commit 8b218bbad7970cd5c20936cbf3c4046c893c81f1
Author: Isaque Galdino <igaldino gmail com>
Date: Tue Aug 4 20:15:52 2020 -0300
list-view-row: fix signal emit failure
When selecting an item in list view, emit the signal to update the
correct container.
src/bjb-list-view-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/bjb-list-view-row.c b/src/bjb-list-view-row.c
index 872dc0e0..dc2fab3e 100644
--- a/src/bjb-list-view-row.c
+++ b/src/bjb-list-view-row.c
@@ -58,7 +58,7 @@ on_toggled_cb (BjbListViewRow *self,
bjb_controller_unselect_item (controller, self->model_iter);
}
- g_signal_emit_by_name (G_OBJECT (gtk_widget_get_parent (GTK_WIDGET (self))), "selected-rows-changed", 0);
+ g_signal_emit_by_name (GTK_WIDGET (list_box), "selected-rows-changed", 0);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]