Hello! A layer string parameters may be empty. Do not emit gtk warning in this case.
diff --git a/src/uibuilder.c b/src/uibuilder.c index d9b497c..bed64d3 100644 --- a/src/uibuilder.c +++ b/src/uibuilder.c @@ -120,7 +120,8 @@ GtkWidget *a_uibuilder_new_widget ( VikLayerParam *param, Vi if ( param->type == VIK_LAYER_PARAM_STRING ) { rv = gtk_entry_new (); - gtk_entry_set_text ( GTK_ENTRY(rv), data.s ); + if (data.s) + gtk_entry_set_text ( GTK_ENTRY(rv), data.s ); } break; case VIK_LAYER_WIDGET_PASSWORD: -- Totus tuus, Glebius. GLEB-RIPE ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/