public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* Added GdkImage support
@ 2003-05-06  7:30 Marko Rauhamaa
  2003-07-04 23:59 ` Kevin Ryde
  0 siblings, 1 reply; 2+ messages in thread
From: Marko Rauhamaa @ 2003-05-06  7:30 UTC (permalink / raw)
  To: guile-gtk

Summary: Added GdkImage support.

Details and notes:

 - The changes compile. No testing has been carried out yet.

 - build-guile-gtk-1.2: Added yet another builtin integer type: uint32.
   Since the integer and unsigned types are registered almost
   identically, I introduced register-integer-type and
   register-unsigned-type for the job.

 - gdk-1.2.defs: Removed redundant conversion option for GdkColor.

 - gdk-1.2.defs, gdk-support.c, guile-gtk.h: Added GdkImage and the
   related functions.

 - gdk-1.2.defs: Removed gdk_region_destroy, which I accidentally
   introduced in the previous commit. (The GC should be let to deal with
   client memory resources.)

-- 
Marko Rauhamaa      mailto:marko@pacujo.net     http://pacujo.net/marko/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Added GdkImage support
  2003-05-06  7:30 Added GdkImage support Marko Rauhamaa
@ 2003-07-04 23:59 ` Kevin Ryde
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2003-07-04 23:59 UTC (permalink / raw)
  To: guile-gtk

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

Marko Rauhamaa <marko@pacujo.net> writes:
>
>  - gdk-1.2.defs, gdk-support.c, guile-gtk.h: Added GdkImage and the
>    related functions.

GdkImage is apparently not known to the gtk_type functions.

        * guile-gtk.c (sgtk_try_missing_type): Add GdkImage.


[-- Attachment #2: guile-gtk.c.gdkimage-missing.diff --]
[-- Type: text/plain, Size: 427 bytes --]

--- guile-gtk.c.~1.18.~	2003-06-19 10:45:59.000000000 +1000
+++ guile-gtk.c	2003-07-04 17:50:24.000000000 +1000
@@ -247,6 +247,10 @@
     { "GdkWMFunction", GTK_TYPE_FLAGS, NULL },
     { "GdkVisibilityState", GTK_TYPE_ENUM, NULL },
     { "GdkInputSource", GTK_TYPE_ENUM, NULL },
+
+    /* gtk 1.2.10 doesn't have type info for GdkImage */
+    { "GdkImage", GTK_TYPE_BOXED, NULL },
+
     {NULL, GTK_TYPE_NONE, NULL}
   };
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-04 23:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06  7:30 Added GdkImage support Marko Rauhamaa
2003-07-04 23:59 ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).