hongquan / CoBang

A QR code scanner desktop app for Linux
GNU General Public License v3.0
240 stars 27 forks source link

type string GVariant«(i,i)» invalid #84

Closed simona70 closed 5 months ago

simona70 commented 5 months ago

/usr/share/glib-2.0/schemas/vn.hoabinh.quan.CoBang.gschema.xml:4:41 Error at line 4 char 41: String type GVariant«(i,i)» invalid

LFd3v commented 5 months ago

Hi, there. I do not know when this error started (I have installed CoBang recently), but the error is caused by this line in the code:

https://github.com/hongquan/CoBang/blob/da3daf90d61551d69e680e39784446b4ae2381e0/data/vn.hoabinh.quan.CoBang.gschema.xml#L4

This fixed the error for me, note the removal of the comma from the type value (devs probably will want to change the default values, if they are actually used in the app, or just use (-1,-1)):

        <key name="window-size" type="(ii)">
            <default>(300,120)</default>
        </key>
hongquan commented 5 months ago

Thank you. I accidently included a half-baked code.

hongquan commented 5 months ago

Fixed by 9072b3ddfecbd88ec09d750ad736d457dc97a257

hongquan commented 5 months ago

Fix is released in v0.10.5.