[Gtk-sharp-list] deprecated Combo not working in gtk# 1.0 on Win32 using gtk+ 2.6

Mike Kestner mkestner at novell.com
Mon Jun 27 10:46:09 EDT 2005


On Sat, 2005-06-25 at 19:50 -0400, Daniel Morgan wrote:
> When I tried to run sql# for gtk# on Mono 1.1.7 for Windows, it failed 
> to run because the Combo failed.
> sql# for gtk# was using gtk# 1.0.x and gtk+ 2.6. 
> 
> Even though Combo was deprecated in gtk+ 2.4, it should still work in 
> gtk+ 2.6.
> 
> I recently chatted with Todd Berman, and he said the deprecated Combo 
> works fine in MonoDevelop running on gtk+ 2.6.
> 
> So, is this a Win32 problem with gtk+, gtk# 1.0.x , or the installer?
> 
> Can someone please look into this problem?

That's going to be hard to do without more details than "the Combo
failed."  If you can provide a minimal sample application that
reproduces the problem, please open a bug report including the output
that occurs on failure.  

When you say you "tried to run sql# for gtk# on Mono 1.1.7 for Windows"
are you saying you tried to run a binary that was compiled against Gtk#
1.0.x on mono 1.1.7?  There are different assembly versions involved
there, so if the 1.1.7 installer doesn't have a set of Gtk# 1.0.x
assemblies in its GAC, that would be a problem.  I'm just stabbing in
the dark because the problem description above is fairly vague.

Gtk# 1.0.x and 2.x are parallel-installable and there is no current plan
to provide a mechanism to run applications compiled against 1.0.x on a
2.x installation.  You will still have to have 1.0.x assemblies
installed.  If this is the problem you are indicating, perhaps paco
needs to consider shipping a combined 1.0.x/2.x installer for Gtk# on
win32?  Either that or there needs to be a way to install 1.0.x and 2.x
Gtk# into a single mono install.

FWIW, I just compiled and ran the sample/test/WidgetViewer.exe
application on the MS 1.1 runtime with gladewin 2.6.8-rc1 and Gtk# trunk
and the Combo sample (which is still Gtk.Combo, not ComboBox) runs
without any problems.

-- 
Mike Kestner <mkestner at novell.com>



More information about the Gtk-sharp-list mailing list