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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkaccelgroup.pre:31:    guint accel_key,    GdkModifierType accel_mods,    struct signal_data *d)   {    int res;    push_svalue(&d->args);    push_gobject(accel_group);    push_gobject(acceleratable);    push_int(accel_key);    push_int(accel_mods); -  apply_svalue(&d->cb,5); +  safe_apply_svalue(&d->cb, 5, 1);    res=Pike_sp[-1].u.integer;    pop_stack();    return res;   }   %}      void connect(int accel_key, int accel_mods, int accel_flags,    function cb, mixed user_data)   //! Installs an accelerator in this group.   {
pike.git/src/post_modules/GTK2/source/gtkaccelgroup.pre:99:    RETURN_THIS();   }      void disconnect(int accel_key, int accel_mods)   //! Removes an accelerator previously installed.   {    pgtk2_verify_inited();    {    INT_TYPE accel_key;    INT_TYPE accel_mods; -  get_all_args("disconnect",args,"%i%i",&accel_key,&accel_mods); +  get_all_args(NULL,args,"%i%i",&accel_key,&accel_mods);    gtk_accel_group_disconnect_key(GTK_ACCEL_GROUP(THIS->obj),    accel_key,accel_mods);    }    RETURN_THIS();   }      void lock();   //! Locks the group.      void unlock();   //! Undoes the last call to lock().