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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcolorselection.pre:86:   //! on whether opacity is enabled or not. Position 0 contains the red   //! component, 1 is green, 2 is blue and opacity is at position 3 (only   //! if opacity is enabled, see set_opacity()) All values are between   //! 0 and 65535   {    pgtk2_verify_inited();    {    struct svalue *sv;    struct mapping *m;    GdkColor color; -  get_all_args("set_current_color",args,"%m",&m); +  get_all_args(NULL,args,"%m",&m);    sv=low_mapping_string_lookup(m,_STR("pixel"));    if (sv)    color.pixel=(guint32)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("red"));    if (sv)    color.red=(guint16)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("green"));    if (sv)    color.green=(guint16)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("blue"));
pike.git/src/post_modules/GTK2/source/gtkcolorselection.pre:138:   }      void set_previous_color(mapping(string:int) colors)   //! Sets the 'previous' color to be color.   {    pgtk2_verify_inited();    {    struct mapping *m;    struct svalue *sv;    GdkColor color; -  get_all_args("set_previous_color",args,"%m",&m); +  get_all_args(NULL,args,"%m",&m);    sv=low_mapping_string_lookup(m,_STR("pixel"));    if (sv)    color.pixel=(guint32)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("red"));    if (sv)    color.red=(guint16)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("green"));    if (sv)    color.green=(guint16)PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("blue"));