Код: Выделить всё
filter = gtk_file_filter_new();
gtk_file_filter_set_name( GTK_FILE_FILTER(filter), _("Image files") );
gtk_file_filter_add_pixbuf_formats( GTK_FILE_FILTER(filter) );
gtk_file_chooser_add_filter( GTK_FILE_CHOOSER(chooser), filter );
Модератор: Модераторы разделов
Код: Выделить всё
filter = gtk_file_filter_new();
gtk_file_filter_set_name( GTK_FILE_FILTER(filter), _("Image files") );
gtk_file_filter_add_pixbuf_formats( GTK_FILE_FILTER(filter) );
gtk_file_chooser_add_filter( GTK_FILE_CHOOSER(chooser), filter );