Hi all, I have encountered a situation where HildonCalendarPopup (created by regular HildonDateEditor) locks up when selecting date from it. This occurs only if gdk_threads are enabled.
A modified tutorial example code to demonstrate the problem: /* Includes */ #include <hildon-widgets/hildon-app.h> #include <gtk/gtk.h> #include <gtk/gtkbutton.h> int main( int argc, char* argv[] ) { /* Create needed variables */ HildonApp *app; HildonAppView *main_view; GtkWidget *date_editor; g_thread_init (NULL); gdk_threads_init (); gdk_threads_enter (); /* Initialize the GTK. */ gtk_init( &argc, &argv ); /* Create the hildon application and setup the title */ app = HILDON_APP( hildon_app_new() ); hildon_app_set_title( app, ("Hello maemo!" )); main_view = HILDON_APPVIEW(hildon_appview_new(NULL)); /* Create button and add it to main view */ date_editor = hildon_date_editor_new (); gtk_container_add(GTK_CONTAINER(main_view), date_editor); /* Set application view */ hildon_app_set_appview( app, main_view ); /* Begin the main application */ gtk_widget_show_all( GTK_WIDGET( app ) ); gtk_main(); gdk_threads_leave (); /* Exit */ return 0; } Have anyone else encountered this behaviour? Cheers, Petri Liimatta _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers