pike.git / src / post_modules / GTK2 / source / support.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/support.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: support.c,v 1.26 2010/08/01 00:10:20 marcus Exp $ + || $Id: support.c,v 1.27 2010/09/19 17:54:56 marcus Exp $   */      #include <version.h>   #include <bignum.h>   #include <stdarg.h>      #ifndef INIT_VARIABLES   extern struct program *image_color_program;   extern struct program *image_program;   #endif
pike.git/src/post_modules/GTK2/source/support.c:779:    pop_stack();   }      void pgtk2_free_signal_data(struct signal_data *s, GClosure *gcl) {    free_svalue(&s->cb);    free_svalue(&s->args);    g_free(s);   }      void pgtk2_push_gchar(const gchar *s) { +  if (s) {    push_text(s);    push_int(1);    f_utf8_to_string(2); -  +  } else +  push_int(0);   }      gchar *pgtk2_get_str(struct svalue *sv) {    gchar *res;       push_svalue(sv);    push_int(1);    f_string_to_utf8(2);       res=(gchar *)g_malloc(Pike_sp[-1].u.string->len+1);