[egg-list-box/flow-box-enhancements] Small fix to test-flow-box
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box/flow-box-enhancements] Small fix to test-flow-box
- Date: Sat, 28 Sep 2013 22:10:41 +0000 (UTC)
commit 884f8e1e50b5330aefe106bf6a204af498fb1e99
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 28 18:10:03 2013 -0400
Small fix to test-flow-box
The id is stored on the child of the EggFlowBoxChild.
test-flow-box.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test-flow-box.c b/test-flow-box.c
index 8045629..d55aa81 100644
--- a/test-flow-box.c
+++ b/test-flow-box.c
@@ -333,7 +333,7 @@ on_child_activated (EggFlowBox *self,
GtkWidget *child)
{
const char *id;
- id = g_object_get_data (G_OBJECT (child), "id");
+ id = g_object_get_data (G_OBJECT (gtk_bin_get_child (GTK_BIN (child))), "id");
g_message ("Child activated %p: %s", child, id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]