Bug #217 » 0031-gtk4-x-Fix-GTK_IS_TREE_MODEL-assert-failure-on-help-.patch
client/gui-gtk-4.0/helpdlg.c | ||
---|---|---|
model = gtk_tree_view_get_model(view);
|
||
if (model == NULL) {
|
||
return;
|
||
}
|
||
gtk_tree_view_get_cursor(view, &path, &col);
|
||
gtk_tree_model_get_iter(model, &it, path);
|
||
gtk_tree_path_free(path);
|
||
if (!path) {
|
||
if (path == NULL) {
|
||
return;
|
||
}
|
||
client/gui-gtk-5.0/helpdlg.c | ||
---|---|---|
model = gtk_tree_view_get_model(view);
|
||
if (model == NULL) {
|
||
return;
|
||
}
|
||
gtk_tree_view_get_cursor(view, &path, &col);
|
||
gtk_tree_model_get_iter(model, &it, path);
|
||
gtk_tree_path_free(path);
|
||
if (!path) {
|
||
if (path == NULL) {
|
||
return;
|
||
}
|
||