GtkFileChooserWidget possibly broken
- From: Christian Neumair <chris gnome-de org>
- To: gtk-devel-list gnome org
- Subject: GtkFileChooserWidget possibly broken
- Date: Sat, 10 Jul 2004 17:02:51 +0200
I've tested the attached program. It returns "test failed." although
I've got many bookmarks. Can anybody verify whether it is just me or is
the shortcut list getter actually broken?
regs,
Chris
#include <gtk/gtk.h>
int
main (int argc, char **argv)
{
GtkWidget *chooser;
GSList *list = NULL;
gtk_init (&argc, &argv);
chooser = gtk_file_chooser_widget_new (GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
list = gtk_file_chooser_list_shortcut_folders (GTK_FILE_CHOOSER (chooser));
if (list)
g_warning ("test succeeded.");
else
g_warning ("test failed.");
/* no cleanup */
return TRUE;
}
all:
gcc -g -O2 `pkg-config --cflags --libs gtk+-2.0 glib-2.0` test.c -o test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]