This will be used extensively starting from next commit!
icon = g_themed_icon_new ("text-x-generic");
return icon;
}
+
+GFile *
+_gtk_file_info_get_file (GFileInfo *info)
+{
+ g_assert (G_IS_FILE_INFO (info));
+ g_assert (g_file_info_has_attribute (info, "standard::file"));
+
+ return G_FILE (g_file_info_get_attribute_object (info, "standard::file"));
+}
int scale,
GtkIconTheme *icon_theme);
+GFile * _gtk_file_info_get_file (GFileInfo *info);
+
G_END_DECLS
#endif /* __GTK_FILE_CHOOSER_UTILS_H__ */