Re: GtkFileChooserDialog and profilers



I pasted the code you gave in your first email into an empty file. 
Compiled with cc main.c `pkg-config gtk+-2.0 --libs --cflags`
it worked fine. Running ./a.out produced a filechooser window.
Application ended when i closed it....

My gtk install may be slightly out of date its a farily old instalation
of debian sarge.
kared sasuke:~/gtk$ pkg-config gtk+-2.0 --modversion
2.4.3
kared sasuke:~/gtk$ 


On Thu, 2004-10-28 at 20:01, Carlo wrote:
David Necas (Yeti) ha scritto lo scorso 27/10/2004 18.49:
On Wed, Oct 27, 2004 at 01:22:57PM +0200, Carlo Agrusti wrote:

[cut]
#include <gtk/gtk.h>

int main (int argc, char * argv[]) {
   GtkWidget * dialog;
   char      * filename;

   gtk_init (&argc, &argv);

   dialog = gtk_file_chooser_dialog_new (
[cut]
   gtk_widget_destroy (dialog);
   return 0;
}


It doesn't make my valgrind crash.

Anything you might be doing wrong is not obvious from the
info you posted.


There are no more info to be posted, I fear. What you see is a simple 
self contained main.c (stripped from the code I'm working on), and I 
made no strange thing on it; I have now installed on my Debian 
gtk+2.4.11, but I observed the same effect with 2.4.10 and 2.4.5.


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Jared Kells
kared kared net
http://www.kared.net



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