Changeset 407
- Timestamp:
- 09/21/07 13:55:31 (1 year ago)
- Files:
-
- pygtkimageview/src/gtkimageview.defs (modified) (1 diff)
- pygtkimageview/src/gtkimageview.override (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pygtkimageview/src/gtkimageview.defs
r405 r407 57 57 (is-constructor-of "GdkPixbufDrawOpts") 58 58 (return-type "GdkPixbufDrawOpts") 59 ) 60 61 (define-function pixbuf_draw_cache_new 62 (c-name "gdk_pixbuf_draw_cache_new") 63 (is-constructor-of "GdkPixbufDrawCache") 64 (return-type "GdkPixbufDrawCache") 59 65 ) 60 66 pygtkimageview/src/gtkimageview.override
r405 r407 83 83 } 84 84 85 /* We must also add more boilerplate to make instantiation work. */86 85 %% 87 86 module gtkimageview … … 127 126 %% 128 127 override gdk_pixbuf_draw_opts_new kwargs 128 /* This boilerplate is needed to make instantiation of 129 GdkPixbufDrawOpts work. */ 129 130 static int 130 131 _wrap_gdk_pixbuf_draw_opts_new (PyGBoxed *self, … … 164 165 } 165 166 167 %% 168 override gdk_pixbuf_draw_cache_new noargs 169 /* This boilerplate is needed to make instantiation of 170 GdkPixbufDrawCache work. */ 171 static int 172 _wrap_gdk_pixbuf_draw_cache_new (PyGBoxed *self) 173 { 174 self->boxed = (gpointer) gdk_pixbuf_draw_cache_new (); 175 self->free_on_dealloc = TRUE; 176 self->gtype = GDK_TYPE_PIXBUF_DRAW_CACHE; 166 177 178 return 0; 179 } 180 181
