Re: gtk_file_selection_new vs gtk_file_chooser_dialog_new




Have you considered trying "gtk_file_selection_new()" instead?

--- gtk-app-devel-list-request gnome org wrote:

------------------------------

Message: 7
Date: Fri, 6 May 2005 08:48:26 -0400 (EDT)
From: isil light <isil_light yahoo com>
Subject: gtk_file_chooser_dialog_new
To: gtk-app-devel-list gnome org
Message-ID: <20050506124827 28016 qmail web53406 mail yahoo com>
Content-Type: text/plain; charset=us-ascii

I'm new to gtk and I seem to have a problem using this
dialog:

window = gtk_file_chooser_dialog_new ( .. );
gtk_dialog_run ( .. );
filename = gtk_file_chooser_get_filename ( .. );
gtk_widget_destroy ( window );  

When the user selects a file you get these on stderr:

failed to read() from server connection
end from FAM server connection

or

** ERROR **: file gam_tree.c: line 146
(gam_tree_remove): assertion failed:
(g_node_n_children(node->node) == 0)
aborting...






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]