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.14 2006/09/05 14:18:19 ldillon Exp $ + || $Id: support.c,v 1.15 2007/10/09 17:52:01 nilsson 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:684:    return;    } else {    const char *s=(char *)g_type_name(t);    char *a="";    if (!s) {    a="Unknown child of ";    s=g_type_name(g_type_parent(t));    if (!s)    s="unknown type";    } -  fprintf(stderr,"** Warning: No push callback for type %d/%d (%s%s)\n", -  t,0,a,s); +  Pike_error("No push callback for type %d (%s%s)\n",t,a,s);    }    return;   }      #include <gobject/gvaluecollector.h>      /* This function makes a few assumptions about how signal handlers are    * called in GTK. I could not find any good documentation about that,    * and the source is somewhat obscure (for good reasons, it's a highly    * non-trivial thing to do)