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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkvisual.pre:41:   //! a color table into the final output table instead of being   //! converted directly.   //! @endint   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    INT_TYPE best=0,depth=0,type=-1;    GdkVisual *gv;    -  get_all_args("create",args,"%i.%i%i",&best,&depth,&type); +  get_all_args(NULL,args,"%i.%i%i",&best,&depth,&type);    if (best==0) {    gv=gdk_visual_get_system();    } else {    if (depth==0 && type==-1)    gv=gdk_visual_get_best();    else if (depth!=0 && type==-1)    gv=gdk_visual_get_best_with_depth(depth);    else if (depth==0 && type!=-1)    gv=gdk_visual_get_best_with_type(type);    else    gv=gdk_visual_get_best_with_both(depth,type);    }    THIS->obj=(void *)gv;    }    pgtk2__init_this_object();   }      +GDK2.Screen get_screen();   //! Gets the screen to which this visual belongs.