forked from AuroraMiddleware/gtk
file chooser: Avoid triggering assertions
cairo surfaces are boxed types, so don't try to set them with g_value_set_object().
This commit is contained in:
parent
d2fe45ab57
commit
18de5e6547
@ -4030,7 +4030,7 @@ file_system_model_set (GtkFileSystemModel *model,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
g_value_set_object (value, NULL);
|
g_value_set_boxed (value, NULL);
|
||||||
break;
|
break;
|
||||||
case MODEL_COL_SIZE:
|
case MODEL_COL_SIZE:
|
||||||
g_value_set_int64 (value, info ? g_file_info_get_size (info) : 0);
|
g_value_set_int64 (value, info ? g_file_info_get_size (info) : 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user