Branch: Tag:

2018-08-05

2018-08-05 13:00:00 by Martin Nilsson <nilsson@fastmail.com>

Avoid sending function name to get_all_args, GTK2 edition.

38:    if (TYPEOF(Pike_sp[-args]) == PIKE_T_OBJECT) {    struct object *o1,*o2=NULL;    GtkWidget *gs; -  get_all_args("create",args,"%o.%o",&o1,&o2); +  get_all_args(NULL,args,"%o.%o",&o1,&o2);    gs=gtk_scrolled_window_new(    GTK_ADJUSTMENT(get_gobject(o1)),    GTK_ADJUSTMENT(get_gobject(o2)));
86:    GtkWidget *victim;    struct object *o;    -  get_all_args("add",args,"%o",&o); +  get_all_args(NULL,args,"%o",&o);    victim=GTK_WIDGET(get_gobject(o));    if (!(GTK_WIDGET_GET_CLASS(victim)->set_scroll_adjustments_signal))    gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(THIS->obj),