This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdk-pixbuf-new-from-xpm-data


Enabling a commented-out function,

        * gdk-pixbuf/gdk-pixbuf.defs (gdk_pixbuf_new_from_xpm_data_interp):
        New function.
        * gdk-pixbuf/gdk-pixbuf-support.c, gdk-pixbuf/gdk-pixbuf-support.h:
        New files.
        * gdk-pixbuf/Makefile.am (libguilegdkpixbuf_1_2_la_SOURCES): Add them.

Attachment: gdk-pixbuf.defs.xpm-data.diff
Description: Text document

/*
 * Copyright 2003 Kevin Ryde
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gdk-pixbuf/gdk-pixbuf.h>

#include <guile-gtk.h>
#include <gdk-pixbuf-support.h>


/* sgtk_scm2cvec puts a zero element (ie. NULL) at the end of "data".  This
   interp is just to discard the len parameter.  Maybe could do that with a
   change to build-guile-gtk-1.2.  */
GdkPixbuf *
gdk_pixbuf_new_from_xpm_data_interp (int len, const char **data)
{
  return gdk_pixbuf_new_from_xpm_data (data);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]