comparison gtk4/dw.c @ 2470:8f7c2f20c7c0

GTK4: Fill in the row data for contatiner context. M gtk4/dw.c
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Apr 2021 01:28:39 +0000
parents a80df2e7195d
children fa976a5bc7bd
comparison
equal deleted inserted replaced
2469:4aadd15e3a59 2470:8f7c2f20c7c0
970 { 970 {
971 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, 2, &itemdata, -1); 971 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, 2, &itemdata, -1);
972 } 972 }
973 else 973 else
974 { 974 {
975 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, -1); 975 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, _DW_DATA_TYPE_POINTER, &itemdata, -1);
976 } 976 }
977 } 977 }
978 else 978 else
979 { 979 {
980 GtkTreePath *path; 980 GtkTreePath *path;
990 { 990 {
991 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, 2, &itemdata, -1); 991 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, 2, &itemdata, -1);
992 } 992 }
993 else 993 else
994 { 994 {
995 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, -1); 995 gtk_tree_model_get(store, &iter, _DW_DATA_TYPE_STRING, &text, _DW_DATA_TYPE_POINTER, &itemdata, -1);
996 } 996 }
997 } 997 }
998 gtk_tree_path_free(path); 998 gtk_tree_path_free(path);
999 } 999 }
1000 } 1000 }