| 1080 //g_signal_connect(view, "drag-end", G_CALLBACK(drag_end), NULL); |
1080 //g_signal_connect(view, "drag-end", G_CALLBACK(drag_end), NULL); |
| 1081 |
1081 |
| 1082 // add TreeView as observer to the UiList to update the TreeView if the |
1082 // add TreeView as observer to the UiList to update the TreeView if the |
| 1083 // data changes |
1083 // data changes |
| 1084 UiListView *tableview = create_listview(obj, args); |
1084 UiListView *tableview = create_listview(obj, args); |
| |
1085 tableview->widget = view; |
| 1085 g_signal_connect( |
1086 g_signal_connect( |
| 1086 view, |
1087 view, |
| 1087 "destroy", |
1088 "destroy", |
| 1088 G_CALLBACK(ui_listview_destroy), |
1089 G_CALLBACK(ui_listview_destroy), |
| 1089 tableview); |
1090 tableview); |