pike.git / src / post_modules / GTK2 / source / gtkbutton.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkbutton.pre:48:   //! Called when the mouse enters the button   signal leave;   //! Called when the mouse leaves the button      void create(string|mapping(string:mixed)|void label_or_props)   //! If a string is supplied, a W(Label) is created and added to the button.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) { -  if (Pike_sp[-args].type==PIKE_T_STRING) { +  if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    struct pike_string *t;    GtkWidget *gb;    GtkStockItem item;    int i=0;       get_all_args("create",args,"%T",&t);    if (t) {    if (t->size_shift==0)    i=gtk_stock_lookup(CGSTR0(t),&item);    if (i)