[Gtk-sharp-list] Gtk# 1.0.9 on WindowsXP

Francis Brosnan Blázquez francis at aspl.es
Tue Jun 7 05:30:30 EDT 2005


I've been developing an application based on the mono runtime (1.1.6) 
and gtk# stable 1.0.8
everything on debian. I have to say it works just fine without any problem.

But now, I'm trying to get it running on Windows XP (the target platform 
to deploy the
application) using the last mono installation package (1.1.7 and gtk# 
1.0.9) and I'm
running into some problems.

It seems the Entry associated with a Gtk.Combo (I know Gtk.Combo is 
obsolete on 1.9.x series)
is allways returning a null reference.

Here is a simple test:

using Gtk;
using Gdk;
using System;

public class Test {
    public static void Main (string [] arguments) {

        Application.Init ();

        Gtk.Combo result = new Gtk.Combo ();

        if (result.Entry != null) {
            Console.WriteLine ("Test Ok");
        }else {
            Console.WriteLine ("Test Failed: the entry reference is 


(09:25:00-Tue Jun 07)
[acinom at TITAN gtk-sharp-examples]$ mono.exe GtkCombo.exe

(<unknown>:1784): GLib-CRITICAL **: g_convert: assertion `str != NULL' 
Test Failed: the entry reference is null..

I've tested this problem with previous mono installations and the test 
works but other problems appears
which seems to be solved on Gtk# 1.0.9

Should I report a bug on bugzilla or is this solved on svn repository?


More information about the Gtk-sharp-list mailing list