[Gtk-sharp-list] Error building Gtk# 1.9 in Win32

Mike Kestner mkestner@ximian.com
Mon, 15 Nov 2004 12:29:58 -0600


--=-fAKqXyMmY6inCltkCvxz
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Mon, 2004-11-15 at 08:09 -0600, Francisco T. Martinez wrote:
> I ran into the problem described in the enclosed attachment when 
> building Gtk# 1.9 for Win32.  It appears that I don't experience the 
> failure when building with gmake and the Makefile generated by the 
> autoconf tools. Could it be the code generation from XML? Maybe 
> makefile.win32 needs to better match with Makefile.am?

Hey Paco,

Apparently I was in a hurry to get a preview out, because I forgot the
"build on win32" part of the release process.  Thanks for catching my
oversight.

I'm stumped as to why the win32 side is generating those deprecated
methods so differently than the unix side, but the attached patch fixes
the win32 build and has been committed to trunk since it makes no sense
to generate a new method that is already deprecated.  The methods don't
exist on the 1.0 branch.

Thanks,
Mike

--=-fAKqXyMmY6inCltkCvxz
Content-Disposition: attachment; filename=csel.patch
Content-Type: text/x-patch; name=csel.patch; charset=utf-8
Content-Transfer-Encoding: 7bit

Index: gtk/Gtk.metadata
===================================================================
--- gtk/Gtk.metadata	(revision 36140)
+++ gtk/Gtk.metadata	(working copy)
@@ -119,11 +119,13 @@
   <attr path="/api/namespace/object[@cname='GtkCheckMenuItem']/method[@name='Toggled']" name="name">Toggle</attr>
   <attr path="/api/namespace/object[@cname='GtkClipboard']/method[@name='SetWithData']/*/*[@name='targets']" name="array">1</attr>
   <attr path="/api/namespace/object[@cname='GtkClipboard']/method[@name='SetWithOwner']/*/*[@name='targets']" name="array">1</attr>
+  <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='GetColor']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='GetPreviousColor']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='PaletteFromString']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='PaletteToString']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='SetChangePaletteHook']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='SetChangePaletteWithScreenHook']" name="hidden">1</attr>
+  <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='SetColor']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='SetPreviousColor']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkCombo']/method[@name='SetPopdownStrings']" name="hidden">1</attr>
   <attr path="/api/namespace/object[@cname='GtkComboBox']/method[@cname='gtk_combo_box_get_active_iter']/*/*[@type='GtkTreeIter*']" name="pass_as">out</attr> 

--=-fAKqXyMmY6inCltkCvxz--