diff --git a/ABOUT-NLS b/ABOUT-NLS index 9ae15eb59..4f50fb5f0 100644 --- a/ABOUT-NLS +++ b/ABOUT-NLS @@ -156,7 +156,7 @@ people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, -`https://translationproject.org/', in the "Teams" area. +`http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. @@ -179,11 +179,1132 @@ programming skills, here. 1.5 Available Packages ====================== -The translation matrix previously here was badly outdated and has been removed. -The most up-to-date matrix with full percentage details can be found at: -`https://translationproject.org/extra/matrix.html' -The translation project homepage: -`https://translationproject.org/html/welcome.html' + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of May 2010. +The matrix shows, in regard of each package, for which languages PO +files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am ar as ast az be be@latin bg bn_IN bs ca crh + +---------------------------------------------------+ + a2ps | [] [] | + aegis | | + ant-phone | | + anubis | | + aspell | [] [] | + bash | | + bfd | | + bibshelf | [] | + binutils | | + bison | | + bison-runtime | [] | + bluez-pin | [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] [] | + cpio | | + cppi | | + cpplib | [] | + cryptsetup | | + dfarc | | + dialog | [] [] | + dico | | + diffutils | [] | + dink | | + doodle | | + e2fsprogs | [] | + enscript | [] | + exif | | + fetchmail | [] | + findutils | [] | + flex | [] | + freedink | | + gas | | + gawk | [] [] | + gcal | [] | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] | + gettext-tools | [] [] | + gip | [] | + gjay | | + gliv | [] | + glunarclock | [] [] | + gnubiff | | + gnucash | [] | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | | + gold | | + gpe-aerial | | + gpe-beam | | + gpe-bluetooth | | + gpe-calendar | | + gpe-clock | [] | + gpe-conf | | + gpe-contacts | | + gpe-edit | | + gpe-filemanager | | + gpe-go | | + gpe-login | | + gpe-ownerinfo | [] | + gpe-package | | + gpe-sketchbook | | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] | + gpe-today | [] | + gpe-todo | | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | [] [] | + gsasl | | + gss | | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] [] [] | + gtick | | + gtkam | [] | + gtkorphan | [] | + gtkspell | [] [] [] | + gutenprint | | + hello | [] | + help2man | | + hylafax | | + idutils | | + indent | [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | | + iso_639 | [] [] [] [] [] | + iso_639_3 | [] | + jwhois | | + kbd | | + keytouch | [] | + keytouch-editor | | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | | + ld | [] | + leafpad | [] [] | + libc | [] [] | + libexif | () | + libextractor | | + libgnutls | | + libgpewidget | | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | [] | + libidn | | + lifelines | | + liferea | [] [] | + lilypond | | + linkdr | [] | + lordsawar | | + lprng | | + lynx | [] | + m4 | | + mailfromd | | + mailutils | | + make | | + man-db | | + man-db-manpages | | + minicom | | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | | + psmisc | | + pspp | [] | + pwdutils | | + radius | [] | + recode | [] [] | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] | + sharutils | [] [] | + shishi | | + skencil | | + solfege | | + solfege-manual | | + soundtracker | | + sp | | + sysstat | | + tar | [] | + texinfo | | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] [] | + wyslij-po | | + xchat | [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +---------------------------------------------------+ + af am ar as ast az be be@latin bg bn_IN bs ca crh + 6 0 2 3 19 1 11 3 28 3 1 38 5 + + cs da de el en en_GB en_ZA eo es et eu fa fi + +-------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] () | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] [] [] | + bfd | [] [] | + bibshelf | [] [] [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] | + bombono-dvd | [] [] | + buzztard | [] [] [] | + cflow | [] [] [] | + clisp | [] [] [] [] | + coreutils | [] [] [] [] | + cpio | [] | + cppi | [] | + cpplib | [] [] [] | + cryptsetup | [] | + dfarc | [] [] [] [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] | + dink | [] [] [] | + doodle | [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + exif | () [] [] [] | + fetchmail | [] [] () [] [] [] | + findutils | [] [] [] [] | + flex | [] [] [] | + freedink | [] [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gip | [] [] [] [] [] | + gjay | [] [] | + gliv | [] [] [] [] | + glunarclock | [] [] [] | + gnubiff | () | + gnucash | [] () () () () () | + gnuedu | [] [] | + gnulib | [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] [] | + gpe-aerial | [] [] [] [] [] | + gpe-beam | [] [] [] [] [] | + gpe-bluetooth | [] [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] [] | + gpe-go | [] [] [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] [] [] [] | + gpe-sketchbook | [] [] [] [] [] | + gpe-su | [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] | + gpe-today | [] [] [] [] [] | + gpe-todo | [] [] [] [] | + gphoto2 | [] [] () [] [] [] [] | + gprof | [] [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] [] | + grub | [] [] [] | + gsasl | [] [] | + gss | [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] [] | + gtick | [] () [] [] | + gtkam | [] [] () [] [] | + gtkorphan | [] [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] [] | + hello | [] [] [] [] [] | + help2man | [] [] | + hylafax | [] [] | + idutils | [] [] [] | + indent | [] [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] [] | + iso_3166 | [] [] [] () [] [] [] () [] | + iso_3166_2 | () | + iso_4217 | [] [] [] () [] [] [] | + iso_639 | [] [] [] () [] [] [] | + iso_639_3 | | + jwhois | [] [] | + kbd | [] [] [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] | + klavaro | [] [] [] [] | + latrine | [] () [] | + ld | [] [] [] | + leafpad | [] [] [] [] [] [] [] | + libc | [] [] [] [] [] | + libexif | [] [] () | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] () | + libgphoto2_port | [] () [] | + libgsasl | [] | + libiconv | [] [] [] [] [] [] | + libidn | [] [] [] [] | + lifelines | [] () | + liferea | [] [] [] [] [] | + lilypond | [] [] [] [] | + linkdr | [] [] [] [] | + lordsawar | [] | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] [] [] | + man-db | | + man-db-manpages | | + minicom | [] [] [] [] [] | + mkisofs | [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] [] | + parted | [] [] | + pies | | + popt | [] [] [] [] [] [] | + psmisc | [] [] [] [] | + pspp | [] | + pwdutils | [] | + radius | [] | + recode | [] [] [] [] [] [] [] | + rosegarden | () () () () | + rpm | [] [] [] | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] | + shishi | | + skencil | [] () [] | + solfege | [] [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] [] | + sp | [] | + sysstat | [] [] [] [] | + tar | [] [] [] [] [] | + texinfo | [] [] [] | + tin | [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | () () | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] [] | + wget | [] [] [] [] | + wyslij-po | [] | + xchat | [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] [] | + +-------------------------------------------------+ + cs da de el en en_GB en_ZA eo es et eu fa fi + 64 105 117 18 1 8 0 28 89 18 19 0 104 + + fr ga gl gu he hi hr hu hy id is it ja ka kn + +------------------------------------------------+ + a2ps | [] [] [] | + aegis | [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] | + bash | [] [] [] | + bfd | [] [] | + bibshelf | [] [] [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] | + bombono-dvd | | + buzztard | [] | + cflow | [] [] | + clisp | [] | + coreutils | [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] [] | + cryptsetup | [] [] [] | + dfarc | [] [] | + dialog | [] [] [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] [] | + dink | [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + exif | [] [] [] [] [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] | + freedink | [] [] | + gas | [] [] | + gawk | [] [] [] [] () [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | () | + glunarclock | [] [] [] | + gnubiff | () [] () | + gnucash | () () () () [] | + gnuedu | [] [] | + gnulib | [] [] [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] | + gpe-aerial | [] [] | + gpe-beam | [] [] [] | + gpe-bluetooth | [] [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] [] [] | + gpe-edit | [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] | + gpe-su | [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] [] | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | [] [] [] [] | + gtick | [] [] [] [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] | + hello | [] [] | + help2man | [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | () [] [] | + iso_3166 | () [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | () [] [] [] | + iso_4217 | () [] [] [] [] | + iso_639 | () [] [] [] [] [] [] [] | + iso_639_3 | () [] [] | + jwhois | [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] [] [] | + keytouch-editor | [] [] [] [] | + keytouch-keyboa... | [] [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | [] [] [] | + leafpad | [] [] [] [] [] [] () | + libc | [] [] [] [] | + libexif | | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] [] | + lifelines | () | + liferea | [] [] [] [] | + lilypond | [] | + linkdr | [] [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] | + man-db | [] [] | + man-db-manpages | [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] [] | + opcodes | [] [] [] | + parted | [] [] [] [] | + pies | | + popt | [] [] [] [] [] [] [] [] | + psmisc | [] [] | + pspp | | + pwdutils | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] | + rosegarden | () () () () | + rpm | [] [] | + rush | | + sarg | [] | + screem | [] [] | + scrollkeeper | [] [] [] | + sed | [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] | + shishi | [] | + skencil | [] | + solfege | [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] | + sp | [] () | + sysstat | [] [] [] [] | + tar | [] [] [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux-ng | [] [] [] [] [] | + vice | () () () | + vmm | [] | + vorbis-tools | [] | + wastesedge | () () | + wdiff | | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] | + xchat | [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] | + +------------------------------------------------+ + fr ga gl gu he hi hr hu hy id is it ja ka kn + 121 53 20 4 8 2 5 53 2 120 5 83 66 0 4 + + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + +-----------------------------------------------+ + a2ps | [] | + aegis | | + ant-phone | | + anubis | [] [] | + aspell | [] | + bash | | + bfd | | + bibshelf | [] [] | + binutils | | + bison | [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] | + cpio | | + cppi | | + cpplib | | + cryptsetup | | + dfarc | [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] | + dink | | + doodle | | + e2fsprogs | | + enscript | | + exif | [] | + fetchmail | | + findutils | | + flex | | + freedink | [] | + gas | | + gawk | | + gcal | | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] | + gettext-tools | [] | + gip | [] [] | + gjay | | + gliv | | + glunarclock | [] | + gnubiff | | + gnucash | () () () () | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gold | | + gpe-aerial | [] | + gpe-beam | [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | | + gsasl | | + gss | | + gst-plugins-bad | [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | | + gtick | | + gtkam | [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | | + hello | [] [] [] | + help2man | | + hylafax | | + idutils | | + indent | | + iso_15924 | [] [] | + iso_3166 | [] [] () [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] | + iso_639 | [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | [] | + ld | | + leafpad | [] [] [] | + libc | [] | + libexif | | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | | + libidn | | + lifelines | | + liferea | | + lilypond | | + linkdr | | + lordsawar | | + lprng | | + lynx | | + m4 | | + mailfromd | | + mailutils | | + make | [] | + man-db | | + man-db-manpages | | + minicom | [] | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | [] [] [] | + psmisc | | + pspp | | + pwdutils | | + radius | | + recode | | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] | + sed | | + sharutils | | + shishi | | + skencil | | + solfege | [] | + solfege-manual | | + soundtracker | | + sp | | + sysstat | [] | + tar | [] | + texinfo | [] | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] | + wyslij-po | | + xchat | [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +-----------------------------------------------+ + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + 20 5 10 1 12 48 4 2 2 4 24 10 19 3 1 + + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + +---------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] | + bfd | [] | + bibshelf | [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] () | + buzztard | [] [] | + cflow | [] | + clisp | [] [] | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] | + cryptsetup | [] | + dfarc | [] | + dialog | [] [] [] [] | + dico | [] | + diffutils | [] [] [] [] [] [] | + dink | () | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + exif | [] [] [] () [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] [] | + freedink | [] [] | + gas | | + gawk | [] [] [] [] | + gcal | | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] | + gnubiff | [] () | + gnucash | [] () () () | + gnuedu | [] | + gnulib | [] [] [] [] | + gnunet | | + gnunet-gtk | | + gnutls | [] [] | + gold | | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] [] | + gphoto2 | [] [] [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] | + gst-plugins-bad | [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] | + hello | [] [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] [] [] [] | + iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | + iso_3166_2 | [] [] [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] [] [] | + iso_639_3 | [] [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | | + leafpad | [] [] [] [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] | + lifelines | [] [] | + liferea | [] [] [] [] [] () () [] | + lilypond | [] | + linkdr | [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] | + make | [] [] [] [] | + man-db | [] [] [] | + man-db-manpages | [] [] [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + pies | [] | + popt | [] [] [] [] | + psmisc | [] [] [] | + pspp | [] [] | + pwdutils | [] | + radius | [] [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () | + rpm | [] [] [] | + rush | [] [] | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] [] [] [] | + solfege-manual | [] [] [] | + soundtracker | [] | + sp | | + sysstat | [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | [] | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] | + +---------------------------------------------------+ + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + 135 10 4 7 105 1 29 61 47 91 3 55 47 8 37 + + sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + +---------------------------------------------------+ + a2ps | [] [] [] [] [] | 27 + aegis | [] | 9 + ant-phone | [] [] [] [] | 9 + anubis | [] [] [] [] | 15 + aspell | [] [] [] | 20 + bash | [] [] | 11 + bfd | [] | 6 + bibshelf | [] [] [] | 16 + binutils | [] [] | 8 + bison | [] [] | 12 + bison-runtime | [] [] [] [] [] [] | 29 + bluez-pin | [] [] [] [] [] [] [] [] | 37 + bombono-dvd | [] | 4 + buzztard | [] | 7 + cflow | [] [] [] | 9 + clisp | | 10 + coreutils | [] [] [] [] | 22 + cpio | [] [] [] [] [] [] | 13 + cppi | [] [] | 5 + cpplib | [] [] [] [] [] [] | 13 + cryptsetup | [] [] | 7 + dfarc | [] | 9 + dialog | [] [] [] [] [] [] [] | 30 + dico | [] | 2 + diffutils | [] [] [] [] [] [] | 30 + dink | | 4 + doodle | [] [] | 7 + e2fsprogs | [] [] [] | 11 + enscript | [] [] [] [] | 17 + exif | [] [] [] | 16 + fetchmail | [] [] [] | 17 + findutils | [] [] [] [] [] | 20 + flex | [] [] [] [] | 15 + freedink | [] | 10 + gas | [] | 4 + gawk | [] [] [] [] | 18 + gcal | [] [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] [] | 34 + gettext-runtime | [] [] [] [] [] [] [] | 30 + gettext-tools | [] [] [] [] [] [] | 22 + gip | [] [] [] [] | 22 + gjay | [] | 3 + gliv | [] [] [] | 14 + glunarclock | [] [] [] [] [] | 19 + gnubiff | [] [] | 4 + gnucash | () [] () () | 9 + gnuedu | [] [] | 7 + gnulib | [] [] [] [] | 16 + gnunet | [] | 1 + gnunet-gtk | [] [] [] | 5 + gnutls | [] [] [] | 10 + gold | [] | 4 + gpe-aerial | [] [] [] | 18 + gpe-beam | [] [] [] | 19 + gpe-bluetooth | [] [] [] | 13 + gpe-calendar | [] [] [] [] | 12 + gpe-clock | [] [] [] [] [] | 28 + gpe-conf | [] [] [] [] | 20 + gpe-contacts | [] [] [] | 17 + gpe-edit | [] [] [] | 12 + gpe-filemanager | [] [] [] [] | 16 + gpe-go | [] [] [] [] [] | 25 + gpe-login | [] [] [] | 11 + gpe-ownerinfo | [] [] [] [] [] | 25 + gpe-package | [] [] [] | 13 + gpe-sketchbook | [] [] [] | 20 + gpe-su | [] [] [] [] [] | 30 + gpe-taskmanager | [] [] [] [] [] | 29 + gpe-timesheet | [] [] [] [] [] | 25 + gpe-today | [] [] [] [] [] [] | 30 + gpe-todo | [] [] [] [] | 17 + gphoto2 | [] [] [] [] [] | 24 + gprof | [] [] [] | 15 + gpsdrive | [] [] [] | 11 + gramadoir | [] [] [] | 11 + grep | [] [] [] | 10 + grub | [] [] [] | 14 + gsasl | [] [] [] [] | 14 + gss | [] [] [] | 11 + gst-plugins-bad | [] [] [] [] | 22 + gst-plugins-base | [] [] [] [] [] | 24 + gst-plugins-good | [] [] [] [] [] | 25 + gst-plugins-ugly | [] [] [] [] [] | 29 + gstreamer | [] [] [] [] | 22 + gtick | [] [] [] | 13 + gtkam | [] [] [] | 20 + gtkorphan | [] [] [] | 14 + gtkspell | [] [] [] [] [] [] [] [] [] | 45 + gutenprint | [] | 10 + hello | [] [] [] [] [] [] | 21 + help2man | [] [] | 7 + hylafax | [] | 5 + idutils | [] [] [] [] | 17 + indent | [] [] [] [] [] [] | 30 + iso_15924 | () [] () [] [] | 16 + iso_3166 | [] [] () [] [] () [] [] [] () | 53 + iso_3166_2 | () [] () [] | 9 + iso_4217 | [] () [] [] () [] [] | 26 + iso_639 | [] [] [] () [] () [] [] [] [] | 38 + iso_639_3 | [] () | 8 + jwhois | [] [] [] [] [] | 16 + kbd | [] [] [] [] [] | 15 + keytouch | [] [] [] | 16 + keytouch-editor | [] [] [] | 14 + keytouch-keyboa... | [] [] [] | 14 + klavaro | [] | 11 + latrine | [] [] [] | 10 + ld | [] [] [] [] | 11 + leafpad | [] [] [] [] [] [] | 33 + libc | [] [] [] [] [] | 21 + libexif | [] () | 6 + libextractor | [] | 1 + libgnutls | [] [] [] | 9 + libgpewidget | [] [] [] | 14 + libgpg-error | [] [] [] | 9 + libgphoto2 | [] [] | 8 + libgphoto2_port | [] [] [] [] | 13 + libgsasl | [] [] [] | 13 + libiconv | [] [] [] [] | 21 + libidn | () [] [] | 11 + lifelines | [] | 4 + liferea | [] [] [] | 21 + lilypond | [] | 7 + linkdr | [] [] [] [] [] | 17 + lordsawar | | 1 + lprng | [] | 3 + lynx | [] [] [] [] | 17 + m4 | [] [] [] [] | 19 + mailfromd | [] [] | 3 + mailutils | [] | 5 + make | [] [] [] [] | 21 + man-db | [] [] [] | 8 + man-db-manpages | | 4 + minicom | [] [] | 16 + mkisofs | [] [] | 9 + myserver | | 0 + nano | [] [] [] [] | 21 + opcodes | [] [] [] | 11 + parted | [] [] [] [] [] | 15 + pies | [] [] | 3 + popt | [] [] [] [] [] [] | 27 + psmisc | [] [] | 11 + pspp | | 4 + pwdutils | [] [] | 6 + radius | [] [] | 9 + recode | [] [] [] [] | 28 + rosegarden | () | 0 + rpm | [] [] [] | 11 + rush | [] [] | 4 + sarg | | 1 + screem | [] | 3 + scrollkeeper | [] [] [] [] [] | 27 + sed | [] [] [] [] [] | 30 + sharutils | [] [] [] [] [] | 22 + shishi | [] | 3 + skencil | [] [] | 7 + solfege | [] [] [] [] | 16 + solfege-manual | [] | 8 + soundtracker | [] [] [] | 9 + sp | [] | 3 + sysstat | [] [] | 15 + tar | [] [] [] [] [] [] | 23 + texinfo | [] [] [] [] | 16 + tin | | 4 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux-ng | [] [] [] [] | 20 + vice | () () | 1 + vmm | [] | 4 + vorbis-tools | [] | 6 + wastesedge | | 2 + wdiff | [] [] | 7 + wget | [] [] [] [] [] | 26 + wyslij-po | [] [] | 8 + xchat | [] [] [] [] [] [] | 36 + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | 60 + xkeyboard-config | [] [] [] [] | 25 + +---------------------------------------------------+ + 84 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + 178 domains 119 1 3 2 0 10 66 50 155 17 97 7 41 2610 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If May 2010 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://translationproject.org/extra/matrix.html'. 1.6 Using `gettext' in new packages =================================== diff --git a/HACKING b/HACKING index 74c279024..91dd2156e 100644 --- a/HACKING +++ b/HACKING @@ -1,45 +1,64 @@ -**Hacking gtk2-ng** +If you want to hack on the GTK+ project, you'll need to have +the following packages installed: -Note: -When this document was first created back in the day, "hacking" meant to -modify code to do new and interesting things, not quite the same as the -more sinister meaning it has taken on today. It is in the spirit of the -original meaning that this newly revised document has been updated. + - GNU autoconf 2.54 + - GNU automake 1.7 + - GNU libtool 1.4 + - indent (GNU indent 1.9.1 is known good) + - GNU gettext 10.40 -Full list of Daemonratte's projects: -https://git.devuan.org/Daemonratte +These should be available by ftp from ftp.gnu.org or any of the +fine GNU mirrors. Beta software can be found at alpha.gnu.org. -We welcome all contributions to the project! And the best way to make that -happen is to first clone the main gtk2-ng repo at : -https://git.devuan.org/Daemonratte/gtk2-ng +Up-to-date instructions about developing GNOME applications and libraries +can be found here: -To make a pull request or report a bug, you'll need to register an account -at: https://git.devuan.org + http://developer.gnome.org -Got some ideas or a feature request? You can also make an account at: -https://devuanusers.com and join in the discussions here: -https://devuanusers.com/forum-gtk2-revival-project--12 +Information about using git with GNOME can be found here: -Cloning the git repo to your local computer is a great way to experiment -and test results, you'll need to be familiar with git commands and first -need to install the build dependencies: + http://live.gnome.org/Git -# yad build-essential git libcups2-dev gettext autopoint -# autoconf automake libtool pkg-config gtk-doc-tools gobject-introspection -# libglib2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libgdk-pixbuf-2.0-dev -# libfontconfig1-dev libfreetype-dev libharfbuzz-dev libfribidi-dev libpng-dev -# libx11-dev libxext-dev libxrender-dev libxrandr-dev libxcursor-dev -# libxinerama-dev libxi-dev libxfixes-dev libxcomposite-dev libxdamage-dev +In order to get GIT gtk+ installed on your system, you need to have +the most recent GIT versions of glib, pango, and atk installed as well. +The installation process of these libraries is similar to that of gtk+, but +needs to be fulfilled prior to installation of gtk+. -There are build scripts (Linux) to help automate the process and do local testing -side-by-side against current versions of gtk2, you can find them here: -https://git.devuan.org/greenjeans/gtk2-ng-test-scripts +If at all possible, please use GIT to get the latest development version of +gtk+ and glib. You can do the following to get glib and gtk+ from GIT: -And if you just want to do some simple testing there's an easy way to do -that without having to do a lot of building/installing, a special test-iso -with the above scripts already installed to automate everything, that you -can run in a live-session or a VM, or also install if you have a partition -to spare: -https://sourceforge.net/projects/vuu-do/files/Vuu-do-5.03/5.03-gtk2ng-testing/ + $ git clone git://git.gnome.org/glib + $ git clone git://git.gnome.org/pango + $ git clone git://git.gnome.org/atk + $ git clone git://git.gnome.org/gtk+ -~greenjeans June 2026 +Note: if you plan to push changes to back to the master repository and +have a gnome account, you want to use the following instead: + + $ git clone ssh://@git.gnome.org/git/gtk+ + +To compile the GIT version of gtk+ on your system, you will need to take +several steps to setup the tree for compilation. You can do all these +steps at once by running: + + gtk+$ ./autogen.sh + +Basically this does the following for you: + + gtk+$ aclocal; automake; autoconf + +The above commands create the `configure' script. Now you +run the `configure' script in `gtk+/' to create all Makefiles. +More information about that in `INSTALL'. + +Before running `autogen.sh' or `configure', make sure you have libtool +in your path. + +Note that autogen.sh runs configure for you. If you wish to pass +options like `--prefix=/usr' to `configure' you can give those options +to `autogen.sh' and they will be passed on to `configure'. + +For information about submitting patches and pushing changes +to GIT, see the `README' and `README.commits' files. In particular, +don't, under any circumstances, push anything to GIT before +reading and understanding `README.commmits'. diff --git a/MAINTAINERS b/MAINTAINERS index ca93e8d87..0740dc901 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1,13 +1,12 @@ -Daemonratte - lead developer -https://git.devuan.org/Daemonratte +Matthias Clasen +E-mail: mclasen@redhat.com +Userid: matthiasc -greenjeans - collaborator -https://git.devuan.org/greenjeans +Tim Janik +E-mail: timj@gtk.org +Userid: timj -Note that a LOT of people are contributing to gtk2-ng, and some parts of it -like the .deb packages are being maintained by other people. The people listed -above are meant as contacts for administrative questions. The best way to get -involved is by registering an account at : https://git.devuan.org/ for any -feature requests or issues. You can also register an account on the Devuan -users forum : https://devuanusers.com/index.php and post or message/email -any one of us. \ No newline at end of file +Note that a lot of people are contributing to GTK+, and some parts of it +are technically maintained by other people. The people listed above are +meant as contacts for administrative questions such as cvs accounts. Other +questions are best directed to the mailing list gtk-devel-list@gnome.org. diff --git a/README.commits b/README.commits index 1566807bf..f6e830a2c 100644 --- a/README.commits +++ b/README.commits @@ -1,35 +1,72 @@ -The gtk2-ng project is part of Daemonratte's git repository. At the current -time, only the project owner and collaborators are allowed to make commits, -gtk2-ng is a fairly large and complicated package that many other things -depend on, so to avoid unnecessary breakage, but to take advantage of the -knowledge about GTK that has been built up over the years, we'd like to ask -people to feel free to submit pull requests after modding and testing. It -will all get reviewed though sometimes that may take some time! +GTK+ is part of the GNOME git repository. At the current time, any +person with write access to the GNOME repository, can make changes to +GTK+. This is a good thing, in that it encourages many people to work +on GTK+, and progress can be made quickly. However, GTK+ is a fairly +large and complicated package that many other things depend on, so to +avoid unnecessary breakage, and to take advantage of the knowledge +about GTK+ that has been built up over the years, we'd like to ask +people committing to GTK+ to follow a few rules: -If you would like to submit pull requests, you will need to have an account -at: https://git.devuan.org -It's also a good idea to sign up at the devuanusers.com forum and join the -discussion here: https://devuanusers.com/forum-gtk2-revival-project--12 +0) Ask first. If your changes are major, or could possibly break existing + code, you should always ask. If your change is minor and you've + been working on GTK+ for a while it probably isn't necessary + to ask. But when in doubt, ask. Even if your change is correct, + somebody may know a better way to do things. + + If you are making changes to GTK+, you should be subscribed + to gtk-devel-list@gnome.org. (Subscription address: + gtk-devel-list-request@gnome.org.) This is a good place to ask + about intended changes. + + #gtk+ on GIMPNet (irc.gimp.org, irc.us.gimp.org, irc.eu.gimp.org, ...) + is also a good place to find GTK+ developers to discuss changes with, + however, email to gtk-devel-list is the most certain and preferred + method. + +1) Ask _first_. + +2) With git, we no longer maintain a ChangeLog file, but you are expected + to produce a meaningful commit message. Changes without a sufficient + commit message will be reverted. See below for the expected format + of commit messages. Notes: * When developing larger features or complicated bug fixes, it is - advisable to work in a branch in your own cloned gtk2-ng repository. + advisable to work in a branch in your own cloned GTK+ repository. You may even consider making your repository publically available so that others can easily test and review your changes. * The expected format for git commit messages is as follows: -Title: Short explanation of the commit, i.e "Update foo.c" - -Optional extended description: Longer explanation about what's changed, -whether any external or private interfaces changed, what bugs were fixed -(with bug tracker reference if applicable) and so on. Be concise but complete, -i.e. "Added new spin-buttons, deleted some trailing whitespace, fixed bug #8" - -~greenjeans June 2026 +=== begin example commit === +Short explanation of the commit +Longer explanation explaining exactly what's changed, whether any +external or private interfaces changed, what bugs were fixed (with bug +tracker reference if applicable) and so forth. Be concise but not too brief. +=== end example commit === + - Always add a brief description of the commit to the _first_ line of + the commit and terminate by two newlines (it will work without the + second newline, but that is not nice for the interfaces). + + - First line (the brief description) must only be one sentence and + should start with a capital letter unless it starts with a lowercase + symbol or identifier. Don't use a trailing period either. Don't exceed + 72 characters. + + - The main description (the body) is normal prose and should use normal + punctuation and capital letters where appropriate. Normally, for patches + sent to a mailing list it's copied from there. + + - When committing code on behalf of others use the --author option, e.g. + git commit -a --author "Joe Coder " and --signoff. +Owen Taylor +13 Aug 1998 +17 Apr 2001 +Matthias Clasen +31 Mar 2009 diff --git a/README.in b/README.in index 048e898c5..3379463b9 100644 --- a/README.in +++ b/README.in @@ -1,20 +1,25 @@ General Information =================== -This is gtk2-ng, a multi-platform toolkit for creating graphical user interfaces. -Offering a complete set of widgets, gtk2-ng is suitable for projects ranging from -small one-off projects to complete application suites. +This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for +creating graphical user interfaces. Offering a complete set of widgets, +GTK+ is suitable for projects ranging from small one-off projects to +complete application suites. -This is free software and part of the gtk2 revival project. However, the -licensing terms for gtk2-ng, the GNU LGPL, allow it to be used by all +GTK+ is free software and part of the GNU Project. However, the +licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. -The official source code site is: - https://git.devuan.org/Daemonratte/gtk2-ng +The official ftp site is: + ftp://ftp.gtk.org/pub/gtk The official web site is: - https://devuanusers.com/index.php + http://www.gtk.org/ + +Information about mailing lists can be found at + http://www.gtk.org/mailinglists.html + Installation ============ @@ -415,9 +420,9 @@ Release notes for 2.6 How to report bugs ================== -Bugs should be reported to the gtk2-ng bug tracking system. -(https://git.devuan.org/Daemonratte/gtk2-ng) -You will need to create an account for yourself. +Bugs should be reported to the GNOME bug tracking system. +(http://bugzilla.gnome.org, product gtk+.) You will need to create an +account for yourself. In the bug report please include: @@ -449,8 +454,8 @@ In the bug report please include: Patches ======= -Patches should also be submitted to https://git.devuan.org/Daemonratte/gtk2-ng. -If the patch fixes an existing bug, add the patch as an attachment to that bug +Patches should also be submitted to bugzilla.gnome.org. If the patch +fixes an existing bug, add the patch as an attachment to that bug report. Otherwise, enter a new bug report that describes the patch, and attach diff --git a/README.md b/README.md index 92f573f18..77c8eae7a 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,7 @@ This fork focuses on modern compatibility while preserving stability, performance, ABI compatibility, and original behavior as much as possible. X11-first, no forced Wayland migration. -Backed by the **devuanusers.com** community and **The Lateral Tech Foundation**. - -## Recent Development News - -- Build scripts to automate local testing - https://git.devuan.org/greenjeans/gtk2-ng-test-scripts -- Testing iso (Daedalus) - https://sourceforge.net/projects/vuu-do/files/Vuu-do-5.03/5.03-gtk2ng-testing/ -- Deb packages (Daedalus, Excalibur) - https://git.devuan.org/SteveM/gtk2-ng_debs -- Win32 build scripts - https://git.devuan.org/lmemsm/bldgtk -- Successfully built for EasyOS and KLV-Airedale - https://forum.puppylinux.com/viewtopic.php?p=171842#p171842 -- EasyOS 7.4 released featuring gtk2-ng - https://distrowatch.com/?newsid=12874 -- Available in the AUR for Archlinux - https://aur.archlinux.org/packages/gtk2-ng-git -- The Lateral Tech Foundation formed - https://lateraltechfoundation.com/ +Backed by the **devuanusers.com** community. ## Highlights @@ -34,7 +23,7 @@ Backed by the **devuanusers.com** community and **The Lateral Tech Foundation**. - Preserved GTK2 theming, theme engines, input modules and print backends - Preserved legacy configuration and module lookup behaviour - Continued focus on performance, low overhead and responsiveness -- Community-driven maintenance backed by devuanusers.com and lateraltechfoundation.com +- Community-driven maintenance backed by devuanusers.com ## Roadmap @@ -89,7 +78,7 @@ sudo apt install \ libfontconfig1-dev libfreetype-dev libharfbuzz-dev libfribidi-dev libpng-dev \ libx11-dev libxext-dev libxrender-dev libxrandr-dev libxcursor-dev \ libxinerama-dev libxi-dev libxfixes-dev libxcomposite-dev libxdamage-dev \ - libcups2-dev gettext autopoint + libcups2-dev ``` ## Dependencies (Arch/Artix/Manjaro) diff --git a/demos/gtk-demo/gtk2-ng-256.png b/demos/gtk-demo/gtk2-ng-256.png deleted file mode 100644 index 68074aba6..000000000 Binary files a/demos/gtk-demo/gtk2-ng-256.png and /dev/null differ diff --git a/demos/gtk-demo/gtk2-ng.svg b/demos/gtk-demo/gtk2-ng.svg deleted file mode 100644 index 477522233..000000000 --- a/demos/gtk-demo/gtk2-ng.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/demos/gtk-demo/gtk2-ng.svg.license b/demos/gtk-demo/gtk2-ng.svg.license deleted file mode 100644 index 0e5166bb3..000000000 --- a/demos/gtk-demo/gtk2-ng.svg.license +++ /dev/null @@ -1,20 +0,0 @@ -gtk2-ng.svg is based on File:GTK.svg from Wikimedia Commons. - -Source: -https://commons.wikimedia.org/wiki/File:GTK.svg - -Original source: -Conversion of Image:GTK.png to SVG using Inkscape. - -Author: -Jose Hevia, vectorised by DTR at English Wikipedia. -Commons cleanup by Tene~commonswiki. - -License: -Creative Commons Attribution-ShareAlike 3.0 Unported or -GNU Free Documentation License 1.2 or later. - -This copy is included under the Creative Commons Attribution-ShareAlike -3.0 Unported license. - -No endorsement by the original authors or Wikimedia Commons is implied. diff --git a/docs/reference/gdk/Makefile.am b/docs/reference/gdk/Makefile.am index c0facc151..e86d10ff9 100644 --- a/docs/reference/gdk/Makefile.am +++ b/docs/reference/gdk/Makefile.am @@ -154,9 +154,3 @@ include $(top_srcdir)/gtk-doc.make EXTRA_DIST += version.xml.in -include $(top_srcdir)/git.mk - -# This directory has no runtime tests. Keep recursive `make test` -# working when the top-level test target descends into the documentation -# reference directories. -test: - diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am index fcd7e9173..1cb672bcd 100644 --- a/docs/reference/gtk/Makefile.am +++ b/docs/reference/gtk/Makefile.am @@ -386,9 +386,3 @@ dist-hook-local: $(BUILT_EXTRA_DIST) cp $$d/$$f $(distdir) || exit 1; done -include $(top_srcdir)/git.mk - -# This directory has no runtime tests. Keep recursive `make test` -# working when the top-level test target descends into the documentation -# reference directories. -test: - diff --git a/docs/reference/libgail-util/Makefile.am b/docs/reference/libgail-util/Makefile.am index b57a2e788..396d8f992 100644 --- a/docs/reference/libgail-util/Makefile.am +++ b/docs/reference/libgail-util/Makefile.am @@ -34,9 +34,3 @@ HTML_IMAGES = include $(top_srcdir)/gtk-doc.make -include $(top_srcdir)/git.mk - -# This directory has no runtime tests. Keep recursive `make test` -# working when the top-level test target descends into the documentation -# reference directories. -test: - diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 1b186afa1..53a4f3c03 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -249,7 +249,7 @@ x11_introspection_files = \ x11/gdkx.h GdkX11-2.0.gir: $(gdktargetlib) Gdk-2.0.gir Makefile -GdkX11_2_0_gir_SCANNERFLAGS = --identifier-prefix=Gdk --symbol-prefix=gdk --symbol-prefix=gdkx --include-uninstalled=Gdk-2.0.gir +GdkX11_2_0_gir_SCANNERFLAGS = --identifier-prefix=Gdk --include-uninstalled=Gdk-2.0.gir GdkX11_2_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0 GdkX11_2_0_gir_LIBS = $(gdktargetlib) diff --git a/gdk/gdk.c b/gdk/gdk.c index 63f2b70ef..aa4a6c640 100644 --- a/gdk/gdk.c +++ b/gdk/gdk.c @@ -305,7 +305,7 @@ gdk_get_display_arg_name (void) * display has previously been set, simply returns that. An internal * function that should not be used by applications. * - * Return value: (nullable) (transfer none): the default display, if it could be opened, + * Return value: the default display, if it could be opened, * otherwise %NULL. **/ GdkDisplay * @@ -481,8 +481,8 @@ gdk_threads_init (void) /** * gdk_threads_set_lock_functions: - * @enter_fn: (scope forever): function called to guard GDK - * @leave_fn: (scope forever): function called to release the guard + * @enter_fn: function called to guard GDK + * @leave_fn: function called to release the guard * * Allows the application to replace the standard method that * GDK uses to protect its data structures. Normally, GDK @@ -624,7 +624,7 @@ gdk_threads_add_idle_full (gint priority, /** * gdk_threads_add_idle: - * @function: (scope async): function to call + * @function: function to call * @data: data to pass to @function * * A wrapper for the common usage of gdk_threads_add_idle_full() @@ -730,7 +730,7 @@ gdk_threads_add_timeout_full (gint priority, * gdk_threads_add_timeout: * @interval: the time between calls to the function, in milliseconds * (1/1000ths of a second) - * @function: (scope async): function to call + * @function: function to call * @data: data to pass to @function * * A wrapper for the common usage of gdk_threads_add_timeout_full() @@ -795,7 +795,7 @@ gdk_threads_add_timeout_seconds_full (gint priority, /** * gdk_threads_add_timeout_seconds: * @interval: the time between calls to the function, in seconds - * @function: (scope async): function to call + * @function: function to call * @data: data to pass to @function * * A wrapper for the common usage of gdk_threads_add_timeout_seconds_full() @@ -817,31 +817,6 @@ gdk_threads_add_timeout_seconds (guint interval, } -static gpointer -gdk_atom_copy (gpointer atom) -{ - return atom; -} - -static void -gdk_atom_free (gpointer atom) -{ - /* GdkAtom values are interned and must not be freed. */ -} - -GType -gdk_atom_get_type (void) -{ - static GType our_type = 0; - - if (our_type == 0) - our_type = g_boxed_type_register_static (g_intern_static_string ("GdkAtom"), - (GBoxedCopyFunc) gdk_atom_copy, - (GBoxedFreeFunc) gdk_atom_free); - - return our_type; -} - const char * gdk_get_program_class (void) { diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols index ee1bc0c98..44b035436 100644 --- a/gdk/gdk.symbols +++ b/gdk/gdk.symbols @@ -184,12 +184,6 @@ gdk_utf8_to_compound_text #endif #endif -#if IN_HEADER(__GDK_PROPERTY_H__) -#if IN_FILE(__GDK_C__) -gdk_atom_get_type G_GNUC_CONST -#endif -#endif - #if IN_HEADER(__GDK_PROPERTY_H__) #if IN_FILE(__GDK_PROPERTY_X11_C__) gdk_atom_intern @@ -1092,8 +1086,6 @@ gdk_region_polygon #if IN_HEADER(__GDK_RGB_H__) #if IN_FILE(__GDK_RGB_C__) gdk_rgb_cmap_free -gdk_rgb_cmap_copy -gdk_rgb_cmap_get_type G_GNUC_CONST gdk_rgb_cmap_new gdk_rgb_colormap_ditherable gdk_rgb_ditherable diff --git a/gdk/gdkcolor.c b/gdk/gdkcolor.c index a15704381..e163f6a18 100644 --- a/gdk/gdkcolor.c +++ b/gdk/gdkcolor.c @@ -38,7 +38,7 @@ * * Deprecated function; use g_object_ref() instead. * - * Return value: (transfer full): the colormap + * Return value: the colormap * * Deprecated: 2.0: Use g_object_ref() instead. **/ @@ -69,7 +69,7 @@ gdk_colormap_unref (GdkColormap *cmap) * * Returns the visual for which a given colormap was created. * - * Return value: (transfer none): the visual of the colormap. + * Return value: the visual of the colormap. **/ GdkVisual * gdk_colormap_get_visual (GdkColormap *colormap) @@ -386,7 +386,7 @@ gdk_color_to_string (const GdkColor *color) * Gets the system's default colormap for the default screen. (See * gdk_colormap_get_system_for_screen ()) * - * Return value: (transfer none): the default colormap. + * Return value: the default colormap. **/ GdkColormap* gdk_colormap_get_system (void) diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 5e7fd8f2c..a1d9e2f5f 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -393,7 +393,7 @@ gdk_event_send_clientmessage_toall (GdkEvent *event) * * Returns the core pointer device for the default display. * - * Return value: (transfer none): the core pointer device; this is owned by the + * Return value: the core pointer device; this is owned by the * display and should not be freed. **/ GdkDevice * @@ -408,7 +408,7 @@ gdk_device_get_core_pointer (void) * * Returns the core pointer device for the given display * - * Return value: (transfer none): the core pointer device; this is owned by the + * Return value: the core pointer device; this is owned by the * display and should not be freed. * * Since: 2.2 @@ -634,7 +634,7 @@ gdk_display_get_window_at_pointer (GdkDisplay *display, * event recorder. Applications should never have any * reason to use this facility. * - * Return value: (transfer none) (type gpointer): the previous pointer hook table + * Return value: the previous pointer hook table * * Since: 2.2 * @@ -727,7 +727,7 @@ singlehead_default_window_at_pointer (GdkScreen *screen, * This function is not multihead safe. For multihead operation, * see gdk_display_set_pointer_hooks(). * - * Return value: (transfer none) (type gpointer): the previous pointer hook table + * Return value: the previous pointer hook table * * Deprecated: 2.24: This function will go away in GTK 3 for lack of use cases. **/ diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index fcc0ec9c4..99631cdb0 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -166,15 +166,6 @@ GdkEvent* gdk_display_peek_event (GdkDisplay *display); void gdk_display_put_event (GdkDisplay *display, const GdkEvent *event); -/** - * gdk_display_add_client_message_filter: - * @display: a #GdkDisplay for which this message filter applies. - * @message_type: the type of ClientMessage events to receive. - * @func: (scope forever): the function to call to process the event. - * @data: user data to pass to @func. - * - * Adds a filter to be called when X ClientMessage events are received. - */ void gdk_display_add_client_message_filter (GdkDisplay *display, GdkAtom message_type, GdkFilterFunc func, diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c index b6b0a5953..adfb9f6d6 100644 --- a/gdk/gdkdraw.c +++ b/gdk/gdkdraw.c @@ -171,7 +171,7 @@ gdk_drawable_get_size (GdkDrawable *drawable, * * Gets the #GdkVisual describing the pixel format of @drawable. * - * Return value: (transfer none): a #GdkVisual + * Return value: a #GdkVisual * * Deprecated: 2.24: Use gdk_window_get_visual() */ @@ -206,7 +206,7 @@ gdk_drawable_get_depth (GdkDrawable *drawable) * * Gets the #GdkScreen associated with a #GdkDrawable. * - * Return value: (transfer none): the #GdkScreen associated with @drawable + * Return value: the #GdkScreen associated with @drawable * * Since: 2.2 * @@ -226,7 +226,7 @@ gdk_drawable_get_screen (GdkDrawable *drawable) * * Gets the #GdkDisplay associated with a #GdkDrawable. * - * Return value: (transfer none): the #GdkDisplay associated with @drawable + * Return value: the #GdkDisplay associated with @drawable * * Since: 2.2 * @@ -257,13 +257,13 @@ gdk_drawable_get_display (GdkDrawable *drawable) **/ void gdk_drawable_set_colormap (GdkDrawable *drawable, - GdkColormap *colormap) + GdkColormap *cmap) { g_return_if_fail (GDK_IS_DRAWABLE (drawable)); - g_return_if_fail (colormap == NULL || gdk_drawable_get_depth (drawable) - == colormap->visual->depth); + g_return_if_fail (cmap == NULL || gdk_drawable_get_depth (drawable) + == cmap->visual->depth); - GDK_DRAWABLE_GET_CLASS (drawable)->set_colormap (drawable, colormap); + GDK_DRAWABLE_GET_CLASS (drawable)->set_colormap (drawable, cmap); } /** @@ -273,7 +273,7 @@ gdk_drawable_set_colormap (GdkDrawable *drawable, * Gets the colormap for @drawable, if one is set; returns * %NULL otherwise. * - * Return value: (transfer none): the colormap, or %NULL + * Return value: the colormap, or %NULL **/ GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable) @@ -290,7 +290,7 @@ gdk_drawable_get_colormap (GdkDrawable *drawable) * Deprecated equivalent of calling g_object_ref() on @drawable. * (Drawables were not objects in previous versions of GDK.) * - * Return value: (transfer full): the same @drawable passed in + * Return value: the same @drawable passed in * * Deprecated: 2.0: Use g_object_ref() instead. **/ @@ -1097,7 +1097,7 @@ gdk_draw_trapezoids (GdkDrawable *drawable, /** * gdk_drawable_copy_to_image: * @drawable: a #GdkDrawable - * @image: (allow-none): a #GdkImage, or %NULL if a new @image should be created. + * @image: (allow-none): a #GdkDrawable, or %NULL if a new @image should be created. * @src_x: x coordinate on @drawable * @src_y: y coordinate on @drawable * @dest_x: x coordinate within @image. Must be 0 if @image is %NULL @@ -1109,7 +1109,7 @@ gdk_draw_trapezoids (GdkDrawable *drawable, * @image. If @image is %NULL, creates a new image of size @width x @height * and copies into that. See gdk_drawable_get_image() for further details. * - * Return value: (nullable) (transfer full): @image, or a new #GdkImage containing the contents + * Return value: @image, or a new a #GdkImage containing the contents * of @drawable * * Since: 2.4 @@ -1211,7 +1211,7 @@ gdk_drawable_copy_to_image (GdkDrawable *drawable, * or obscured, then the obscured portions of the returned image * will contain undefined data. * - * Return value: (transfer full): a #GdkImage containing the contents of @drawable + * Return value: a #GdkImage containing the contents of @drawable * * Deprecated: 2.22: Use @drawable as the source and draw to a Cairo image * surface if you want to download contents to the client. @@ -1302,7 +1302,7 @@ gdk_drawable_real_get_composite_drawable (GdkDrawable *drawable, * but no area outside of this region will be affected by drawing * primitives. * - * Returns: (transfer full): a #GdkRegion. This must be freed with gdk_region_destroy() + * Returns: a #GdkRegion. This must be freed with gdk_region_destroy() * when you are done. **/ GdkRegion * @@ -1322,7 +1322,7 @@ gdk_drawable_get_clip_region (GdkDrawable *drawable) * obscured by other windows, but no area outside of this region * is visible. * - * Returns: (transfer full): a #GdkRegion. This must be freed with gdk_region_destroy() + * Returns: a #GdkRegion. This must be freed with gdk_region_destroy() * when you are done. **/ GdkRegion * diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h index 33bb95604..1bc8f6095 100644 --- a/gdk/gdkdrawable.h +++ b/gdk/gdkdrawable.h @@ -142,7 +142,7 @@ struct _GdkDrawableClass gint *height); void (*set_colormap) (GdkDrawable *drawable, - GdkColormap *colormap); + GdkColormap *cmap); GdkColormap* (*get_colormap) (GdkDrawable *drawable); GdkVisual* (*get_visual) (GdkDrawable *drawable); diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index bd8598059..9ff040a6c 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -168,7 +168,7 @@ _gdk_event_queue_insert_after (GdkDisplay *display, } /** - * _gdk_event_queue_insert_before: + * _gdk_event_queue_insert_after: * @display: a #GdkDisplay * @sibling: Append after this event. * @event: Event to append. @@ -1013,7 +1013,7 @@ gdk_event_set_screen (GdkEvent *event, * to which event->motion.x_root and * event->motion.y_root are relative. * - * Return value: (transfer none): the screen for the event + * Return value: the screen for the event * * Since: 2.2 **/ @@ -1157,7 +1157,7 @@ gdk_input_add_full (gint source, * gdk_input_add: * @source: a file descriptor. * @condition: the condition. - * @function: (scope forever): the callback function. + * @function: the callback function. * @data: callback data passed to @function. * * Establish a callback when a condition becomes true on diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 707700cbb..be7535b9b 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -553,15 +553,6 @@ void gdk_set_show_events (gboolean show_events); gboolean gdk_get_show_events (void); #ifndef GDK_MULTIHEAD_SAFE -/** - * gdk_add_client_message_filter: - * @message_type: the type of ClientMessage events to receive. - * @func: (scope forever): the function to call to process the event. - * @data: user data to pass to @func. - * - * Adds a filter to the default display to be called when X ClientMessage - * events are received. See gdk_display_add_client_message_filter(). - */ void gdk_add_client_message_filter (GdkAtom message_type, GdkFilterFunc func, gpointer data); diff --git a/gdk/gdkfont.h b/gdk/gdkfont.h index 71f1e9c77..21d770995 100644 --- a/gdk/gdkfont.h +++ b/gdk/gdkfont.h @@ -127,16 +127,6 @@ void gdk_string_extents (GdkFont *font, gint *ascent, gint *descent); -/** - * gdk_font_get_display: - * @font: the #GdkFont. - * - * Returns the #GdkDisplay for @font. - * - * Returns: (transfer none): the corresponding #GdkDisplay. - * - * Since: 2.2 - */ GdkDisplay * gdk_font_get_display (GdkFont *font); #endif /* GDK_DISABLE_DEPRECATED */ diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c index 3cb2a7b0e..8c899026a 100644 --- a/gdk/gdkgc.c +++ b/gdk/gdkgc.c @@ -232,7 +232,7 @@ gdk_gc_finalize (GObject *object) * * Deprecated function; use g_object_ref() instead. * - * Return value: (transfer full): the gc. + * Return value: the gc. * * Deprecated: 2.0: Use g_object_ref() instead. **/ @@ -1272,7 +1272,7 @@ gdk_gc_set_colormap (GdkGC *gc, * has a colormap, or if a colormap was set explicitely with * gdk_gc_set_colormap. * - * Return value: (nullable) (transfer none): the colormap of @gc, or %NULL if @gc doesn't have one. + * Return value: the colormap of @gc, or %NULL if @gc doesn't have one. * * Deprecated: 2.22: There is no replacement. Cairo handles colormaps * automatically, so there is no need to care about them. diff --git a/gdk/gdkgc.h b/gdk/gdkgc.h index 360ae44f6..2d9cfe7b2 100644 --- a/gdk/gdkgc.h +++ b/gdk/gdkgc.h @@ -206,7 +206,7 @@ struct _GdkGCClass GdkGCValues *values); void (*set_values) (GdkGC *gc, GdkGCValues *values, - GdkGCValuesMask values_mask); + GdkGCValuesMask mask); void (*set_dashes) (GdkGC *gc, gint dash_offset, gint8 dash_list[], diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index 0c46aa142..63067f49b 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -40,7 +40,7 @@ * * Deprecated function; use g_object_ref() instead. * - * Return value: (transfer full): the image + * Return value: the image * * Deprecated: 2.0: Use g_object_ref() instead. **/ @@ -81,7 +81,7 @@ gdk_image_unref (GdkImage *image) * most cases gdk_pixbuf_get_from_drawable() is the most convenient * choice. * - * Return value: (transfer full): a new #GdkImage or %NULL + * Return value: a new #GdkImage or %NULL **/ GdkImage* gdk_image_get (GdkWindow *drawable, @@ -138,7 +138,7 @@ gdk_image_set_colormap (GdkImage *image, * a colormap, or if a colormap was set explicitely with * gdk_image_set_colormap(). * - * Return value: (transfer none): colormap for the image + * Return value: colormap for the image * * Deprecated: 2.22: #GdkImage should not be used anymore. **/ @@ -176,7 +176,7 @@ gdk_image_get_image_type (GdkImage *image) * * Determines the visual that was used to create the image. * - * Return value: (transfer none): a #GdkVisual + * Return value: a #GdkVisual * * Since: 2.22 * diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c index a03317b63..bc1b43c5a 100644 --- a/gdk/gdkkeys.c +++ b/gdk/gdkkeys.c @@ -302,7 +302,7 @@ gdk_keyval_is_lower (guint keyval) /** * gdk_keymap_get_default: - * Returns: (transfer none): the #GdkKeymap attached to the default display. + * @returns: the #GdkKeymap attached to the default display. * * Returns the #GdkKeymap attached to the default display. **/ diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index ace4872cf..80746d77a 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -856,7 +856,7 @@ _gdk_offscreen_window_get_real_drawable (GdkOffscreenWindow *offscreen) * If you need to keep this around over window resizes, you need to * add a reference to it. * - * Returns: (transfer none): The offscreen pixmap, or %NULL if not offscreen + * Returns: The offscreen pixmap, or %NULL if not offscreen * * Since: 2.18 */ @@ -1205,7 +1205,7 @@ gdk_offscreen_window_set_embedder (GdkWindow *window, * * Gets the window that @window is embedded in. * - * Returns: (transfer none): the embedding #GdkWindow, or %NULL if @window is not an + * Returns: the embedding #GdkWindow, or %NULL if @window is not an * embedded offscreen window * * Since: 2.18 diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c index c00949f1a..da76ab156 100644 --- a/gdk/gdkpango.c +++ b/gdk/gdkpango.c @@ -589,7 +589,7 @@ on_renderer_display_closed (GdkDisplay *display, * and gdk_pango_renderer_set_gc() to set the drawable and graphics context * to use for drawing. * - * Return value: (transfer none): the default #PangoRenderer for @screen. The + * Return value: the default #PangoRenderer for @screen. The * renderer is owned by GTK+ and will be kept around until the * screen is closed. * @@ -1336,7 +1336,7 @@ layout_iter_get_line_clip_region (PangoLayoutIter *iter, * the clip region. The clip region is mainly useful for highlightling parts * of text, such as when text is selected. * - * Return value: (transfer full): a clip region containing the given ranges + * Return value: a clip region containing the given ranges **/ GdkRegion* gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, @@ -1380,7 +1380,7 @@ gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, * the clip region. The clip region is mainly useful for highlightling parts * of text, such as when text is selected. * - * Return value: (transfer full): a clip region containing the given ranges + * Return value: a clip region containing the given ranges **/ GdkRegion* gdk_pango_layout_get_clip_region (PangoLayout *layout, @@ -1441,7 +1441,7 @@ gdk_pango_layout_get_clip_region (PangoLayout *layout, * is more convenient if you want to keep a context around and track * changes to the screen's font rendering settings. * - * Return value: (transfer full): a new #PangoContext for the default display + * Return value: a new #PangoContext for the default display **/ PangoContext * gdk_pango_context_get (void) @@ -1467,7 +1467,7 @@ gdk_pango_context_get (void) * is more convenient if you want to keep a context around and track * changes to the screen's font rendering settings. * - * Return value: (transfer full): a new #PangoContext for @screen + * Return value: a new #PangoContext for @screen * * Since: 2.2 **/ diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index c710ab388..faa7769ee 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -1199,7 +1199,7 @@ rgbconvert (GdkImage *image, * converts the resulting image to a #GdkPixbuf, so the * documentation for gdk_drawable_get_image() may also be relevant. * - * Return value: (transfer full): The same pixbuf as @dest if it was non-%NULL, or a newly-created + * Return value: The same pixbuf as @dest if it was non-%NULL, or a newly-created * pixbuf with a reference count of 1 if no destination pixbuf was specified, or %NULL on error **/ GdkPixbuf * @@ -1327,7 +1327,7 @@ gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, * Same as gdk_pixbuf_get_from_drawable() but gets the pixbuf from * an image. * - * Return value: (transfer full): @dest, newly-created pixbuf if @dest was %NULL, %NULL on error + * Return value: @dest, newly-created pixbuf if @dest was %NULL, %NULL on error **/ GdkPixbuf* gdk_pixbuf_get_from_image (GdkPixbuf *dest, diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c index 5bda8dd63..ed914872d 100644 --- a/gdk/gdkpixmap.c +++ b/gdk/gdkpixmap.c @@ -249,17 +249,6 @@ gdk_pixmap_new (GdkDrawable *drawable, return _gdk_pixmap_new (source_drawable, width, height, depth); } -/** - * gdk_bitmap_create_from_data: - * @drawable: a #GdkDrawable, used to determine default values for the new bitmap - * @data: a pointer to the data - * @width: width of the new bitmap in pixels - * @height: height of the new bitmap in pixels - * - * Creates a new bitmap from data in XBM format. - * - * Returns: (type GdkPixmap) (transfer full): the newly-created bitmap - */ GdkPixmap * gdk_bitmap_create_from_data (GdkDrawable *drawable, const gchar *data, @@ -275,23 +264,6 @@ gdk_bitmap_create_from_data (GdkDrawable *drawable, return _gdk_bitmap_create_from_data (source_drawable, data, width, height); } -/** - * gdk_pixmap_create_from_data: - * @drawable: a #GdkDrawable, used to determine default values - * for the new pixmap. - * @data: a string containing the bitmap data. - * @width: width of the pixmap in pixels. - * @height: height of the pixmap in pixels. - * @depth: depth of the pixmap. - * @fg: the foreground color. - * @bg: the background color. - * - * Creates a new pixmap from data in XBM format. - * - * Returns: (transfer full): a new #GdkPixmap. - * - * Deprecated: 2.22: Use a #GdkPixbuf instead. - */ GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable, const gchar *data, @@ -754,13 +726,13 @@ gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable, /** * gdk_pixmap_create_from_xpm: * @drawable: a #GdkDrawable, used to determine default values - * for the new pixmap. - * @mask: (out): a pointer to a place to store a bitmap representing - * the transparency mask of the XPM file. Can be %NULL, - * in which case transparency will be ignored. + * for the new pixmap. + * @mask: (out) a pointer to a place to store a bitmap representing + * the transparency mask of the XPM file. Can be %NULL, + * in which case transparency will be ignored. * @transparent_color: the color to be used for the pixels - * that are transparent in the input file. Can be %NULL, - * in which case a default color will be used. + * that are transparent in the input file. Can be %NULL, + * in which case a default color will be used. * @filename: the filename of a file containing XPM data. * * Create a pixmap from a XPM file. diff --git a/gdk/gdkpolyreg-generic.c b/gdk/gdkpolyreg-generic.c index 54a632f58..6f2d50f70 100644 --- a/gdk/gdkpolyreg-generic.c +++ b/gdk/gdkpolyreg-generic.c @@ -457,7 +457,7 @@ PtsToRegion (int numFullPtBlocks, * Creates a new #GdkRegion using the polygon defined by a * number of points. * - * Returns: (transfer full): a new #GdkRegion based on the given polygon + * Returns: a new #GdkRegion based on the given polygon * * Deprecated: 2.22: There is no replacement. For working with paths, please * use Cairo. diff --git a/gdk/gdkproperty.h b/gdk/gdkproperty.h index 6f2a68970..c3ad6168b 100644 --- a/gdk/gdkproperty.h +++ b/gdk/gdkproperty.h @@ -42,7 +42,6 @@ typedef enum GDK_PROP_MODE_APPEND } GdkPropMode; -GType gdk_atom_get_type (void) G_GNUC_CONST; GdkAtom gdk_atom_intern (const gchar *atom_name, gboolean only_if_exists); GdkAtom gdk_atom_intern_static_string (const gchar *atom_name); diff --git a/gdk/gdkregion-generic.c b/gdk/gdkregion-generic.c index c921142e4..3fa33a4d2 100644 --- a/gdk/gdkregion-generic.c +++ b/gdk/gdkregion-generic.c @@ -103,7 +103,7 @@ static void miSetExtents (GdkRegion *pReg); * * Creates a new empty #GdkRegion. * - * Returns: (transfer full): a new empty #GdkRegion + * Returns: a new empty #GdkRegion */ GdkRegion * gdk_region_new (void) @@ -148,19 +148,13 @@ _gdk_region_new_from_yxbanded_rects (GdkRectangle *rects, } -/** - * GdkRegion: (copy-func gdk_region_copy) (free-func gdk_region_destroy) - * - * An opaque region type. - */ - /** * gdk_region_rectangle: * @rectangle: a #GdkRectangle * * Creates a new region containing the area @rectangle. * - * Return value: (transfer full): a new region + * Return value: a new region **/ GdkRegion * gdk_region_rectangle (const GdkRectangle *rectangle) @@ -191,7 +185,7 @@ gdk_region_rectangle (const GdkRectangle *rectangle) * * Copies @region, creating an identical new region. * - * Return value: (transfer full): a new region identical to @region + * Return value: a new region identical to @region **/ GdkRegion * gdk_region_copy (const GdkRegion *region) @@ -1811,7 +1805,7 @@ gdk_region_unsorted_spans_intersect_foreach (GdkRegion *region, * @spans: an array of #GdkSpans * @n_spans: the length of @spans * @sorted: %TRUE if @spans is sorted wrt. the y coordinate - * @function: (scope call): function to call on each span in the intersection + * @function: function to call on each span in the intersection * @data: data to pass to @function * * Calls a function on each span in the intersection of @region and @spans. diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index b0ff66833..fae69b038 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -3587,34 +3587,6 @@ gdk_rgb_cmap_get_info (GdkRgbCmap *cmap, return cmap_info; } -GdkRgbCmap * -gdk_rgb_cmap_copy (const GdkRgbCmap *cmap) -{ - GdkRgbCmap *copy; - - g_return_val_if_fail (cmap != NULL, NULL); - - copy = g_new (GdkRgbCmap, 1); - copy->n_colors = cmap->n_colors; - memcpy (copy->colors, cmap->colors, sizeof (copy->colors)); - copy->info_list = NULL; - - return copy; -} - -GType -gdk_rgb_cmap_get_type (void) -{ - static GType our_type = 0; - - if (our_type == 0) - our_type = g_boxed_type_register_static (g_intern_static_string ("GdkRgbCmap"), - (GBoxedCopyFunc) gdk_rgb_cmap_copy, - (GBoxedFreeFunc) gdk_rgb_cmap_free); - - return our_type; -} - GdkRgbCmap * gdk_rgb_cmap_new (guint32 *colors, gint n_colors) { diff --git a/gdk/gdkrgb.h b/gdk/gdkrgb.h index dd71d403f..d7f0497d7 100644 --- a/gdk/gdkrgb.h +++ b/gdk/gdkrgb.h @@ -35,8 +35,6 @@ G_BEGIN_DECLS -#define GDK_TYPE_RGB_CMAP (gdk_rgb_cmap_get_type ()) - typedef struct _GdkRgbCmap GdkRgbCmap; typedef enum @@ -127,8 +125,6 @@ void gdk_draw_indexed_image (GdkDrawable *drawable, const guchar *buf, gint rowstride, GdkRgbCmap *cmap); -GType gdk_rgb_cmap_get_type (void) G_GNUC_CONST; -GdkRgbCmap *gdk_rgb_cmap_copy (const GdkRgbCmap *cmap); GdkRgbCmap *gdk_rgb_cmap_new (guint32 *colors, gint n_colors); void gdk_rgb_cmap_free (GdkRgbCmap *cmap); diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h index b55f0fb81..c8cae43f8 100644 --- a/gdk/gdkselection.h +++ b/gdk/gdkselection.h @@ -71,16 +71,6 @@ gboolean gdk_selection_owner_set (GdkWindow *owner, GdkAtom selection, guint32 time_, gboolean send_event); -/** - * gdk_selection_owner_get: - * @selection: an atom identifying a selection. - * - * Determines the owner of the given selection. - * - * Returns: (transfer none): if there is a selection owner for this window, - * and it is a window known to the current process, the #GdkWindow that - * owns the selection, otherwise %NULL. - */ GdkWindow* gdk_selection_owner_get (GdkAtom selection); #endif/* GDK_MULTIHEAD_SAFE */ diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index 64b7a3e75..985782780 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -77,8 +77,6 @@ typedef struct _GdkSpan GdkSpan; */ typedef guint32 GdkWChar; -#define GDK_TYPE_ATOM (gdk_atom_get_type ()) - typedef struct _GdkAtom *GdkAtom; #define GDK_ATOM_TO_POINTER(atom) (atom) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index aa5e2fe80..5dd0ef5de 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -2390,7 +2390,7 @@ gdk_window_get_position (GdkWindow *window, * gdk_window_get_parent() will most likely not do what you expect if * there are offscreen windows in the hierarchy. * - * Return value: (transfer none): parent of @window + * Return value: parent of @window **/ GdkWindow* gdk_window_get_parent (GdkWindow *window) @@ -2410,7 +2410,7 @@ gdk_window_get_parent (GdkWindow *window) * * See also: gdk_offscreen_window_get_embedder() * - * Return value: (transfer none): effective parent of @window + * Return value: effective parent of @window * * Since: 2.22 **/ @@ -2444,7 +2444,7 @@ gdk_window_get_effective_parent (GdkWindow *window) * gdk_window_get_toplevel() will most likely not do what you expect * if there are offscreen windows in the hierarchy. * - * Return value: (transfer none): the toplevel window containing @window + * Return value: the toplevel window containing @window **/ GdkWindow * gdk_window_get_toplevel (GdkWindow *window) @@ -2476,7 +2476,7 @@ gdk_window_get_toplevel (GdkWindow *window) * * See also: gdk_offscreen_window_get_embedder() * - * Return value: (transfer none): the effective toplevel window containing @window + * Return value: the effective toplevel window containing @window * * Since: 2.22 **/ @@ -2544,7 +2544,7 @@ gdk_window_peek_children (GdkWindow *window) /** * gdk_window_add_filter: * @window: a #GdkWindow - * @function: (scope forever): filter callback + * @function: filter callback * @data: data to pass to filter callback * * Adds an event filter to @window, allowing you to intercept events @@ -2607,7 +2607,7 @@ gdk_window_add_filter (GdkWindow *window, /** * gdk_window_remove_filter: * @window: a #GdkWindow - * @function: (scope call): previously-added filter function + * @function: previously-added filter function * @data: user data for previously-added filter function * * Remove a filter previously added with gdk_window_add_filter(). @@ -2697,8 +2697,7 @@ gdk_screen_get_toplevel_windows (GdkScreen *screen) * The returned list should be freed with g_list_free(), but * its elements need not be freed. * - * Return value: (transfer container) (element-type GdkWindow): - * list of toplevel windows, free with g_list_free() + * Return value: list of toplevel windows, free with g_list_free() * * Deprecated: 2.16: Use gdk_screen_get_toplevel_windows() instead. */ @@ -6202,7 +6201,7 @@ _gdk_window_invalidate_for_expose (GdkWindow *window, * gdk_window_get_update_area() returns %NULL. You are responsible for * calling gdk_region_destroy() on the returned region if it's non-%NULL. * - * Return value: (nullable) (transfer full): the update area for @window + * Return value: the update area for @window **/ GdkRegion * gdk_window_get_update_area (GdkWindow *window) @@ -6617,7 +6616,7 @@ gdk_window_at_pointer (gint *win_x, * Obtains the root window (parent all other windows are inside) * for the default display and screen. * - * Return value: (transfer none): the default root window + * Return value: the default root window **/ GdkWindow * gdk_get_default_root_window (void) @@ -6635,7 +6634,7 @@ gdk_get_default_root_window (void) * For example in the X backend, a native window handle is an Xlib * XID. * - * Return value: (transfer full): the newly-created #GdkWindow wrapper for the + * Return value: the newly-created #GdkWindow wrapper for the * native window or %NULL if the window has been destroyed. **/ GdkWindow * @@ -11278,7 +11277,7 @@ gdk_window_create_similar_surface (GdkWindow * window, * * Gets the #GdkScreen associated with a #GdkWindow. * - * Return value: (transfer none): the #GdkScreen associated with @window + * Return value: the #GdkScreen associated with @window * * Since: 2.24 */ @@ -11296,7 +11295,7 @@ gdk_window_get_screen (GdkWindow *window) * * Gets the #GdkDisplay associated with a #GdkWindow. * - * Return value: (transfer none): the #GdkDisplay associated with @window + * Return value: the #GdkDisplay associated with @window * * Since: 2.24 */ @@ -11314,7 +11313,7 @@ gdk_window_get_display (GdkWindow *window) * * Gets the #GdkVisual describing the pixel format of @window. * - * Return value: (transfer none): a #GdkVisual + * Return value: a #GdkVisual * * Since: 2.24 */ diff --git a/gdk/x11/gdkcolor-x11.c b/gdk/x11/gdkcolor-x11.c index f14650059..f22c35a8e 100644 --- a/gdk/x11/gdkcolor-x11.c +++ b/gdk/x11/gdkcolor-x11.c @@ -1253,7 +1253,7 @@ gdk_color_change (GdkColormap *colormap, * returns a new reference to the existing #GdkColormap object, * otherwise creates a new GdkColormap object and returns that * - * Return value: (transfer full): the #GdkColormap object for @xcolormap. + * Return value: the #GdkColormap object for @xcolormap. * Free with g_object_unref(). Note that for colormap created * with gdk_x11_colormap_foreign_new(), unref'ing the last * reference to the object will only free the #GdkColoramp @@ -1449,7 +1449,7 @@ gdk_colormap_equal (Colormap *a, * * Returns the display of a #GdkColormap. * - * Return value: (transfer none) (type xlib.Display): an Xlib Display*. + * Return value: an Xlib Display*. **/ Display * gdk_x11_colormap_get_xdisplay (GdkColormap *colormap) @@ -1492,7 +1492,7 @@ gdk_x11_colormap_get_xcolormap (GdkColormap *colormap) * * Gets the screen for which this colormap was created. * - * Return value: (transfer none): the screen for which this colormap was created. + * Return value: the screen for which this colormap was created. * * Since: 2.2 **/ diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index 7d4f10103..63952c699 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -431,7 +431,7 @@ _gdk_cursor_destroy (GdkCursor *cursor) * * Returns the display of a #GdkCursor. * - * Return value: (transfer none) (type xlib.Display): an Xlib Display*. + * Return value: an Xlib Display*. **/ Display * gdk_x11_cursor_get_xdisplay (GdkCursor *cursor) @@ -463,7 +463,7 @@ gdk_x11_cursor_get_xcursor (GdkCursor *cursor) * * Returns the display on which the #GdkCursor is defined. * - * Returns: (transfer none): the #GdkDisplay associated to @cursor + * Returns: the #GdkDisplay associated to @cursor * * Since: 2.2 */ @@ -488,7 +488,7 @@ gdk_cursor_get_display (GdkCursor *cursor) * on the cursor, GDK may not be able to obtain the image data. In this * case, %NULL is returned. * - * Returns: (nullable) (transfer full): a #GdkPixbuf representing @cursor, or %NULL + * Returns: a #GdkPixbuf representing @cursor, or %NULL * * Since: 2.8 */ diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 4e46981af..b570d9c1a 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -139,7 +139,7 @@ _gdk_display_x11_init (GdkDisplayX11 *display) /** * gdk_display_open: * @display_name: the name of the display to open - * Return value: (nullable) (transfer full): a #GdkDisplay, or %NULL if the display + * @returns: a #GdkDisplay, or %NULL if the display * could not be opened. * * Opens a display. @@ -541,7 +541,7 @@ gdk_display_get_n_screens (GdkDisplay *display) * * Returns a screen object for one of the screens of the display. * - * Returns: (transfer none): the #GdkScreen object + * Returns: the #GdkScreen object * * Since: 2.2 */ @@ -561,7 +561,7 @@ gdk_display_get_screen (GdkDisplay *display, * * Get the default #GdkScreen for @display. * - * Returns: (transfer none): the default #GdkScreen object for @display + * Returns: the default #GdkScreen object for @display * * Since: 2.2 */ @@ -756,7 +756,7 @@ gdk_display_flush (GdkDisplay *display) * on @display. This window is implicitly created by GDK. * See gdk_window_set_group(). * - * Return value: (transfer none): The default group leader window for @display + * Return value: The default group leader window for @display * * Since: 2.4 **/ @@ -900,7 +900,7 @@ gdk_display_x11_finalize (GObject *object) * * Find the #GdkDisplay corresponding to @display, if any exists. * - * Return value: (nullable) (transfer none): the #GdkDisplay, if found, otherwise %NULL. + * Return value: the #GdkDisplay, if found, otherwise %NULL. * * Since: 2.2 **/ @@ -948,7 +948,7 @@ _gdk_x11_display_screen_for_xrootwin (GdkDisplay *display, /** * gdk_x11_display_get_xdisplay: * @display: a #GdkDisplay - * @returns: (transfer none) (type xlib.Display): an X display. + * @returns: an X display. * * Returns the X display of a #GdkDisplay. * diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index 8c67c19f7..f6d0e2761 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -3183,7 +3183,7 @@ gdk_drag_do_leave (GdkDragContext *context, guint32 time) * * This function is called by the drag source. * - * Return value: (transfer full): a newly created #GdkDragContext. + * Return value: a newly created #GdkDragContext. **/ GdkDragContext * gdk_drag_begin (GdkWindow *window, diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c index d27a03ebb..48f320656 100644 --- a/gdk/x11/gdkdrawable-x11.c +++ b/gdk/x11/gdkdrawable-x11.c @@ -897,7 +897,7 @@ gdk_x11_get_visual (GdkDrawable *drawable) * * Returns the display of a #GdkDrawable. * - * Returns: (type gpointer) (transfer none): an Xlib Display*. + * Return value: an Xlib Display*. **/ Display * gdk_x11_drawable_get_xdisplay (GdkDrawable *drawable) diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c index ee053a42c..f5fdd8ee9 100644 --- a/gdk/x11/gdkfont-x11.c +++ b/gdk/x11/gdkfont-x11.c @@ -101,7 +101,7 @@ gdk_fontset_name_hash_get (GdkDisplay *display) * * Returns the #GdkDisplay for @font. * - * Returns: (transfer none): the corresponding #GdkDisplay. + * Returns: the corresponding #GdkDisplay. * * Since: 2.2 **/ @@ -794,7 +794,7 @@ gdk_text_extents_wc (GdkFont *font, * * Returns the display of a #GdkFont. * - * Returns: (type gpointer) (transfer none): an Xlib Display*. + * Return value: an Xlib Display*. **/ Display * gdk_x11_font_get_xdisplay (GdkFont *font) diff --git a/gdk/x11/gdkgc-x11.c b/gdk/x11/gdkgc-x11.c index 11f610e90..45be0101b 100644 --- a/gdk/x11/gdkgc-x11.c +++ b/gdk/x11/gdkgc-x11.c @@ -654,7 +654,7 @@ _gdk_windowing_gc_copy (GdkGC *dst_gc, * * Gets the #GdkScreen for which @gc was created * - * Returns: (transfer none): the #GdkScreen for @gc. + * Returns: the #GdkScreen for @gc. * * Since: 2.2 */ @@ -672,7 +672,7 @@ gdk_gc_get_screen (GdkGC *gc) * * Returns the display of a #GdkGC. * - * Return value: (transfer none) (type xlib.Display): an Xlib Display*. + * Return value: an Xlib Display*. * * Deprecated: 2.22: #GdkGC has been replaced by #cairo_t. **/ @@ -690,7 +690,7 @@ gdk_x11_gc_get_xdisplay (GdkGC *gc) * * Returns the X GC of a #GdkGC. * - * Return value: (transfer none) (type gpointer): an Xlib GC. + * Return value: an Xlib GC. * * Deprecated: 2.22: #GdkGC has been replaced by #cairo_t. **/ diff --git a/gdk/x11/gdkimage-x11.c b/gdk/x11/gdkimage-x11.c index 65616271e..e249397e5 100644 --- a/gdk/x11/gdkimage-x11.c +++ b/gdk/x11/gdkimage-x11.c @@ -748,7 +748,7 @@ gdk_x11_image_destroy (GdkImage *image) * * Returns the display of a #GdkImage. * - * Returns: (type gpointer) (transfer none): an Xlib Display*. + * Return value: an Xlib Display*. **/ Display * gdk_x11_image_get_xdisplay (GdkImage *image) @@ -768,7 +768,7 @@ gdk_x11_image_get_xdisplay (GdkImage *image) * * Returns the X image belonging to a #GdkImage. * - * Returns: (type gpointer) (transfer none): an Xlib XImage*. + * Return value: an XImage*. **/ XImage * gdk_x11_image_get_ximage (GdkImage *image) diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c index a7ded0c73..40529799b 100644 --- a/gdk/x11/gdkinput.c +++ b/gdk/x11/gdkinput.c @@ -158,7 +158,7 @@ gdk_devices_list (void) * Returns the list of available input devices attached to @display. * The list is statically allocated and should not be freed. * - * Return value: (transfer none) (element-type GdkDevice): a list of #GdkDevice + * Return value: a list of #GdkDevice * * Since: 2.2 **/ diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c index 6479aa0ef..be0c27a18 100644 --- a/gdk/x11/gdkkeys-x11.c +++ b/gdk/x11/gdkkeys-x11.c @@ -289,7 +289,7 @@ get_xkb (GdkKeymapX11 *keymap_x11) /** * gdk_keymap_get_for_display: * @display: the #GdkDisplay. - * Returns: (transfer none): the #GdkKeymap attached to @display. + * @returns: the #GdkKeymap attached to @display. * * Returns the #GdkKeymap attached to @display. * diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 5c8a61fbb..12b797a20 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -744,7 +744,7 @@ gdk_x11_get_default_root_xwindow (void) * * Gets the default GTK+ display. * - * Returns: (type gpointer) (transfer none): the default Xlib Display*. + * Return value: the Xlib Display* for the display * specified in the command line option * or the DISPLAY environment variable. **/ diff --git a/gdk/x11/gdkpixmap-x11.c b/gdk/x11/gdkpixmap-x11.c index ec6fad76d..2ffce8af0 100644 --- a/gdk/x11/gdkpixmap-x11.c +++ b/gdk/x11/gdkpixmap-x11.c @@ -427,7 +427,7 @@ gdk_pixmap_foreign_new (GdkNativeWindow anid) * For example in the X backend, a native pixmap handle is an Xlib * XID. * - * Return value: (transfer none): the #GdkPixmap wrapper for the native pixmap, + * Return value: the #GdkPixmap wrapper for the native pixmap, * or %NULL if there is none. **/ GdkPixmap* @@ -446,7 +446,7 @@ gdk_pixmap_lookup (GdkNativeWindow anid) * For example in the X backend, a native pixmap handle is an Xlib * XID. * - * Return value: (transfer none): the #GdkPixmap wrapper for the native pixmap, + * Return value: the #GdkPixmap wrapper for the native pixmap, * or %NULL if there is none. * * Since: 2.2 diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c index b0cf48029..4d42ab5f8 100644 --- a/gdk/x11/gdkscreen-x11.c +++ b/gdk/x11/gdkscreen-x11.c @@ -106,7 +106,7 @@ _gdk_screen_x11_init (GdkScreenX11 *screen) * * Gets the display to which the @screen belongs. * - * Returns: (transfer none): the display to which @screen belongs + * Returns: the display to which @screen belongs * * Since: 2.2 **/ @@ -1383,7 +1383,7 @@ gdk_screen_make_display_name (GdkScreen *screen) * The returned window should be unrefed using g_object_unref() when * no longer needed. * - * Return value: (transfer full): the currently active window, or %NULL. + * Return value: the currently active window, or %NULL. * * Since: 2.10 **/ diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c index 42476bba3..e0cb5fc47 100644 --- a/gdk/x11/gdkselection-x11.c +++ b/gdk/x11/gdkselection-x11.c @@ -195,7 +195,7 @@ gdk_selection_owner_set_for_display (GdkDisplay *display, * process if a foreign window was previously created for that * window, but a new foreign window will never be created by this call. * - * Returns: (transfer none): if there is a selection owner for this window, and it is a + * Returns: if there is a selection owner for this window, and it is a * window known to the current process, the #GdkWindow that owns the * selection, otherwise %NULL. * diff --git a/gdk/x11/gdkspawn-x11.c b/gdk/x11/gdkspawn-x11.c index 675abeb1e..21df0b405 100644 --- a/gdk/x11/gdkspawn-x11.c +++ b/gdk/x11/gdkspawn-x11.c @@ -59,7 +59,7 @@ set_environment (gpointer user_data) * @argv: child's argument vector * @envp: child's environment, or %NULL to inherit parent's * @flags: flags from #GSpawnFlags - * @child_setup: (scope call): function to run in the child just before exec() + * @child_setup: function to run in the child just before exec() * @user_data: user data for @child_setup * @child_pid: return location for child process ID, or %NULL * @error: return location for error @@ -115,7 +115,7 @@ gdk_spawn_on_screen (GdkScreen *screen, * @argv: child's argument vector * @envp: child's environment, or %NULL to inherit parent's * @flags: flags from #GSpawnFlags - * @child_setup: (scope call): function to run in the child just before exec() + * @child_setup: function to run in the child just before exec() * @user_data: user data for @child_setup * @child_pid: return location for child process ID, or %NULL * @standard_input: return location for file descriptor to write to diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c index a35be7653..3eada1491 100644 --- a/gdk/x11/gdkvisual-x11.c +++ b/gdk/x11/gdkvisual-x11.c @@ -578,7 +578,7 @@ gdk_x11_screen_lookup_visual (GdkScreen *screen, * * Returns a #GdkVisual corresponding to a X visual. * - * Returns: (transfer none): the #GdkVisual. + * Return value: the #GdkVisual. * * Deprecated:2.24: Use gdk_x11_screen_lookup_visual() instead */ @@ -647,7 +647,7 @@ gdk_visual_equal (Visual *a, * * Returns the X visual belonging to a #GdkVisual. * - * Returns: (type gpointer) (transfer none): an Xlib Visual*. + * Return value: an Xlib Visual*. **/ Visual * gdk_x11_visual_get_xvisual (GdkVisual *visual) diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 4421273f6..fd78d222d 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -868,7 +868,7 @@ x_event_mask_to_gdk_event_mask (long mask) * For example in the X backend, a native window handle is an Xlib * XID. * - * Return value: (transfer full): a #GdkWindow wrapper for the native window or + * Return value: a #GdkWindow wrapper for the native window or * %NULL if the window has been destroyed. The wrapper will be * newly created, if one doesn't exist already. * @@ -895,7 +895,7 @@ gdk_window_foreign_new_for_display (GdkDisplay *display, * was already known to GDK, a new reference to the existing * #GdkWindow is returned. * - * Return value: (transfer full): a #GdkWindow wrapper for the native window or + * Return value: a #GdkWindow wrapper for the native window or * %NULL if the window has been destroyed. The wrapper will be * newly created, if one doesn't exist already. * @@ -992,7 +992,7 @@ gdk_x11_window_foreign_new_for_display (GdkDisplay *display, * For example in the X backend, a native window handle is an Xlib * XID. * - * Return value: (transfer none): the #GdkWindow wrapper for the native window, + * Return value: the #GdkWindow wrapper for the native window, * or %NULL if there is none. * * Since: 2.2 @@ -1013,7 +1013,7 @@ gdk_window_lookup_for_display (GdkDisplay *display, * * Looks up the #GdkWindow that wraps the given native window handle. * - * Return value: (transfer none): the #GdkWindow wrapper for the native window, + * Return value: the #GdkWindow wrapper for the native window, * or %NULL if there is none. * * Since: 2.24 @@ -1034,7 +1034,7 @@ gdk_x11_window_lookup_for_display (GdkDisplay *display, * For example in the X backend, a native window handle is an Xlib * XID. * - * Return value: (transfer none): the #GdkWindow wrapper for the native window, + * Return value: the #GdkWindow wrapper for the native window, * or %NULL if there is none. * * Deprecated: 2.24: Use gdk_x11_window_lookup_for_display() or equivalent @@ -4402,7 +4402,7 @@ gdk_window_set_keep_below (GdkWindow *window, gboolean setting) * * Returns the group leader window for @window. See gdk_window_set_group(). * - * Return value: (transfer none): the group leader window for @window + * Return value: the group leader window for @window * * Since: 2.4 **/ diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h index 183f5a0f5..8c5c07919 100644 --- a/gdk/x11/gdkx.h +++ b/gdk/x11/gdkx.h @@ -40,19 +40,7 @@ extern Display *gdk_display; Display *gdk_x11_drawable_get_xdisplay (GdkDrawable *drawable); XID gdk_x11_drawable_get_xid (GdkDrawable *drawable); -/** - * gdk_x11_window_get_drawable_impl: - * @window: a #GdkWindow - * - * Returns: (transfer none): the drawable implementation for @window - */ GdkDrawable *gdk_x11_window_get_drawable_impl (GdkWindow *window); -/** - * gdk_x11_pixmap_get_drawable_impl: - * @pixmap: a #GdkPixmap - * - * Returns: (transfer none): the drawable implementation for @pixmap - */ GdkDrawable *gdk_x11_pixmap_get_drawable_impl (GdkPixmap *pixmap); Display *gdk_x11_image_get_xdisplay (GdkImage *image); XImage *gdk_x11_image_get_ximage (GdkImage *image); @@ -222,14 +210,6 @@ gpointer gdk_x11_font_get_xfont (GdkFont *font); #ifndef GDK_DISABLE_DEPRECATED -/** - * gdk_x11_font_get_xdisplay: - * @font: a #GdkFont - * - * Returns the display of a #GdkFont. - * - * Returns: (type gpointer) (transfer none): an Xlib Display*. - */ Display * gdk_x11_font_get_xdisplay (GdkFont *font); const char * gdk_x11_font_get_name (GdkFont *font); diff --git a/git.mk b/git.mk index 5394dcc06..4da8fe2ee 100644 --- a/git.mk +++ b/git.mk @@ -8,6 +8,8 @@ # is permitted in any medium without royalty provided the copyright # notice and this notice are preserved. # +# The canonical source for this file is https://github.com/behdad/git.mk. +# # To use in your project, import this file in your git repo's toplevel, # then do "make -f git.mk". This modifies all Makefile.am files in # your project to -include git.mk. Remember to add that line to new diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 8f5e496a3..5cbe2a326 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1081,7 +1081,7 @@ Gtk_2_0_gir_CFLAGS = \ $(INCLUDES) \ -DGTK_DISABLE_DEPRECATED \ -DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API -Gtk_2_0_gir_LIBS = $(gtktargetlib) $(top_builddir)/gdk/$(gdktargetlib) +Gtk_2_0_gir_LIBS = $(gtktargetlib) Gtk_2_0_gir_FILES = \ $(filter-out gtkprivate.h gtkpixdatautils.h gtktextlayout.h gtkmarshal.h, \ $(introspection_files)) diff --git a/gtk/aliasfilescheck.sh b/gtk/aliasfilescheck.sh index 59faa2326..31b49d451 100755 --- a/gtk/aliasfilescheck.sh +++ b/gtk/aliasfilescheck.sh @@ -5,14 +5,7 @@ if test "x$gtk_all_c_sources" = x; then exit 1 fi -srcdir=${srcdir-.} - -grep 'IN_FILE' "$srcdir/gtk.symbols" | sed 's/^[^(]*(//;s/).*//;s/__GTK_MARSHAL_MARSHAL_C__/__gtk_marshal_MARSHAL_C__/' | grep __ | sort -u > expected-files -{ - for file in $gtk_all_c_sources; do - test -f "$file" || file="$srcdir/$file" - grep '^ *# *define __' "$file" - done -} | sed 's/.*define //;s/ *$//;s/__GTK_MARSHAL_MARSHAL_C__/__gtk_marshal_MARSHAL_C__/' | sort > actual-files +grep 'IN_FILE' ${srcdir-.}/gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files +{ cd ${srcdir-.}; grep '^ *# *define __' $gtk_all_c_sources; } | sed 's/.*define //;s/ *$//' | sort > actual-files diff expected-files actual-files && rm -f expected-files actual-files diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index 0a3b6b71f..a264df87f 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -3949,7 +3949,6 @@ gtk_statusbar_set_has_resize_grip #if IN_FILE(__GTK_STOCK_C__) gtk_stock_add gtk_stock_add_static -gtk_stock_item_get_type G_GNUC_CONST gtk_stock_item_copy gtk_stock_item_free gtk_stock_list_ids diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index b4f6e401c..5d0b63ed5 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -1103,7 +1103,7 @@ gtk_about_dialog_get_copyright (GtkAboutDialog *about) /** * gtk_about_dialog_set_copyright: * @about: a #GtkAboutDialog - * @copyright: (allow-none): the copyright string + * @copyright: (allow-none) the copyright string * * Sets the copyright string to display in the about dialog. * This should be a short string of one or two lines. diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index 07f81e36e..fd7f12104 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -369,7 +369,7 @@ gtk_accel_groups_from_object (GObject *object) /** * gtk_accel_group_find: * @accel_group: a #GtkAccelGroup - * @find_func: (scope call): a function to filter the entries of @accel_group with + * @find_func: a function to filter the entries of @accel_group with * @data: data to pass to @find_func * @returns: (transfer none): the key of the first entry passing * @find_func. The key is owned by GTK+ and must not be freed. @@ -806,9 +806,7 @@ _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, * @accel_key: key value of the accelerator * @accel_mods: modifier combination of the accelerator * @n_entries: (allow-none): location to return the number of entries found, or %NULL - * @returns: (allow-none) (transfer none) (array length=n_entries): an array - * of @n_entries #GtkAccelGroupEntry elements, or %NULL. The array is owned - * by GTK+ and must not be freed. + * @returns: (allow-none): an array of @n_entries #GtkAccelGroupEntry elements, or %NULL. The array is owned by GTK+ and must not be freed. * * Queries an accelerator group for all entries matching @accel_key and * @accel_mods. diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index 8b1a93784..ce2709a5b 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -748,7 +748,7 @@ gtk_accel_map_save (const gchar *file_name) /** * gtk_accel_map_foreach: * @data: data to be passed into @foreach_func - * @foreach_func: (scope call): function to be executed for each accel map entry which + * @foreach_func: function to be executed for each accel map entry which * is not filtered out * * Loops over the entries in the accelerator map whose accel path @@ -785,7 +785,7 @@ gtk_accel_map_foreach (gpointer data, /** * gtk_accel_map_foreach_unfiltered: * @data: data to be passed into @foreach_func - * @foreach_func: (scope call): function to be executed for each accel map entry + * @foreach_func: function to be executed for each accel map entry * * Loops over all entries in the accelerator map, and execute * @foreach_func on each. The signature of @foreach_func is that of @@ -981,7 +981,7 @@ gtk_accel_map_init (GtkAccelMap *accel_map) * map via the ::changed signal; it isn't a parameter to the * other accelerator map functions. * - * Return value: (transfer none): the global #GtkAccelMap object + * Return value: the global #GtkAccelMap object * * Since: 2.4 **/ diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index 6fbce2d49..c21159315 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -1200,7 +1200,7 @@ gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_gro * @n_entries: the number of entries * @value: the value of the action to activate initially, or -1 if * no action should be activated - * @on_change: (allow-none) (scope async): the callback to connect to the changed signal + * @on_change: the callback to connect to the changed signal * @user_data: data to pass to the action callbacks * * This is a convenience routine to create a group of radio actions and @@ -1233,7 +1233,7 @@ gtk_action_group_add_radio_actions (GtkActionGroup *action_group, * @n_entries: the number of entries * @value: the value of the action to activate initially, or -1 if * no action should be activated - * @on_change: (allow-none) (scope notified) (closure user_data) (destroy destroy): the callback to connect to the changed signal + * @on_change: the callback to connect to the changed signal * @user_data: data to pass to the action callbacks * @destroy: destroy notification callback for @user_data * diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 5928c3d9d..1c1606e04 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -372,7 +372,7 @@ gtk_assistant_class_init (GtkAssistantClass *class) GTK_PARAM_READWRITE)); /** - * GtkAssistant:sidebar-image: + * GtkAssistant:header-image: * * The image that is displayed next to the page. * diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c index 74cfc14e8..5ff7576f8 100644 --- a/gtk/gtkbindings.c +++ b/gtk/gtkbindings.c @@ -570,7 +570,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry, * GTK+ maintains a global list of binding sets. Each binding set has * a unique name which needs to be specified upon creation. * - * Return value: (transfer none): new binding set + * Return value: new binding set */ GtkBindingSet* gtk_binding_set_new (const gchar *set_name) @@ -601,7 +601,7 @@ gtk_binding_set_new (const gchar *set_name) * the passed in class structure. New binding sets are created on * demand by this function. * - * Return value: (transfer none): the binding set corresponding to @object_class + * Return value: the binding set corresponding to @object_class */ GtkBindingSet* gtk_binding_set_by_class (gpointer object_class) diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 2e453db04..19dc0196f 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -710,7 +710,7 @@ gtk_calendar_init (GtkCalendar *calendar) for (i=0; i<7; i++) { #ifndef G_OS_WIN32 - tmp_dt = g_date_time_new_utc (2001, 1, i + 7, 12, 0, 0.0); + tmp_dt = g_date_time_new_utc (2001, 1, i + 1, 12, 0, 0.0); if (tmp_dt) { tmp_str = g_date_time_format (tmp_dt, "%a"); diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index 132d21f62..1511b2232 100644 --- a/gtk/gtkclipboard.c +++ b/gtk/gtkclipboard.c @@ -569,8 +569,8 @@ gtk_clipboard_set_contents (GtkClipboard *clipboard, * @targets: array containing information about the available forms for the * clipboard data * @n_targets: number of elements in @targets - * @get_func: (scope async): function to call to get the actual clipboard data - * @clear_func: (scope async): when the clipboard contents are set again, this function will + * @get_func: function to call to get the actual clipboard data + * @clear_func: when the clipboard contents are set again, this function will * be called, and @get_func will not be subsequently called. * @user_data: user data to pass to @get_func and @clear_func. * @@ -605,8 +605,8 @@ gtk_clipboard_set_with_data (GtkClipboard *clipboard, * @targets: array containing information about the available forms for the * clipboard data * @n_targets: number of elements in @targets - * @get_func: (scope async): function to call to get the actual clipboard data - * @clear_func: (scope async): when the clipboard contents are set again, this function will + * @get_func: function to call to get the actual clipboard data + * @clear_func: when the clipboard contents are set again, this function will * be called, and @get_func will not be subsequently called. * @owner: an object that "owns" the data. This object will be passed * to the callbacks when called. @@ -878,7 +878,7 @@ selection_received (GtkWidget *widget, * @clipboard: a #GtkClipboard * @target: an atom representing the form into which the clipboard * owner should convert the selection. - * @callback: (scope async): A function to call when the results are received + * @callback: A function to call when the results are received * (or the retrieval fails). If the retrieval fails * the length field of @selection_data will be * negative. @@ -959,7 +959,7 @@ request_text_received_func (GtkClipboard *clipboard, /** * gtk_clipboard_request_text: * @clipboard: a #GtkClipboard - * @callback: (scope async): a function to call when the text is received, + * @callback: a function to call when the text is received, * or the retrieval fails. (It will always be called * one way or the other.) * @user_data: user data to pass to @callback. @@ -1024,7 +1024,7 @@ request_rich_text_received_func (GtkClipboard *clipboard, * gtk_clipboard_request_rich_text: * @clipboard: a #GtkClipboard * @buffer: a #GtkTextBuffer - * @callback: (scope async): a function to call when the text is received, + * @callback: a function to call when the text is received, * or the retrieval fails. (It will always be called * one way or the other.) * @user_data: user data to pass to @callback. @@ -1116,7 +1116,7 @@ request_image_received_func (GtkClipboard *clipboard, /** * gtk_clipboard_request_image: * @clipboard: a #GtkClipboard - * @callback: (scope async): a function to call when the image is received, + * @callback: a function to call when the image is received, * or the retrieval fails. (It will always be called * one way or the other.) * @user_data: user data to pass to @callback. @@ -1171,7 +1171,7 @@ request_uris_received_func (GtkClipboard *clipboard, /** * gtk_clipboard_request_uris: * @clipboard: a #GtkClipboard - * @callback: (scope async): a function to call when the URIs are received, + * @callback: a function to call when the URIs are received, * or the retrieval fails. (It will always be called * one way or the other.) * @user_data: user data to pass to @callback. @@ -1225,7 +1225,7 @@ request_targets_received_func (GtkClipboard *clipboard, /** * gtk_clipboard_request_targets: * @clipboard: a #GtkClipboard - * @callback: (scope async): a function to call when the targets are received, + * @callback: a function to call when the targets are received, * or the retrieval fails. (It will always be called * one way or the other.) * @user_data: user data to pass to @callback. diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index 4c727700d..c7374cbb4 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -2892,14 +2892,14 @@ gtk_color_selection_set_change_palette_hook (GtkColorSelectionChangePaletteFunc /** * gtk_color_selection_set_change_palette_with_screen_hook: - * @func: (scope forever): a function to call when the custom palette needs saving. + * @func: a function to call when the custom palette needs saving. * * Installs a global function to be called whenever the user tries to * modify the palette in a color selection. This function should save * the new palette contents, and update the GtkSettings property * "gtk-color-palette" so all GtkColorSelection widgets will be modified. * - * Return value: (type gpointer) (transfer none): the previous change palette hook (that was replaced). + * Return value: the previous change palette hook (that was replaced). * * Since: 2.2 **/ diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 2a554b2a9..fe0dbf32a 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -6099,7 +6099,7 @@ gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box) * * Returns the current row separator function. * - * Return value: (type gpointer) (transfer none): the current row separator function. + * Return value: the current row separator function. * * Since: 2.6 */ diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 2f7007fd2..b016dc5f8 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1481,7 +1481,7 @@ gtk_container_resize_children (GtkContainer *container) /** * gtk_container_forall: * @container: a #GtkContainer - * @callback: (scope call): a callback + * @callback: a callback * @callback_data: callback user data * * Invokes @callback on each child of @container, including children diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index 7c845e724..ac169c249 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -80,7 +80,7 @@ struct _GtkContainerClass GtkCallback callback, gpointer callback_data); void (*set_focus_child) (GtkContainer *container, - GtkWidget *child); + GtkWidget *widget); GType (*child_type) (GtkContainer *container); gchar* (*composite_name) (GtkContainer *container, GtkWidget *child); diff --git a/gtk/gtkgc.c b/gtk/gtkgc.c index 50c0701c9..2bf7bca77 100644 --- a/gtk/gtkgc.c +++ b/gtk/gtkgc.c @@ -77,18 +77,6 @@ static GHashTable *gc_key_ht = NULL; static GHashTable *gc_gc_ht = NULL; static GQuark quark_gtk_gc_drawable_ht = 0; -/** - * gtk_gc_get: - * @depth: the depth of the graphics context - * @colormap: a #GdkColormap - * @values: a #GdkGCValues structure containing values for the graphics context - * @values_mask: a mask indicating which fields of @values are set - * - * Gets a shared #GdkGC matching the given values. - * - * Returns: (transfer full): a #GdkGC. Release it with gtk_gc_release() - * when no longer needed. - */ GdkGC* gtk_gc_get (gint depth, GdkColormap *colormap, diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 618f7132d..66b7eb66d 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -814,7 +814,6 @@ gtk_icon_view_class_init (GtkIconViewClass *klass) /* Signals */ /** * GtkIconView::set-scroll-adjustments - * @icon_view: the object which received the signal * @horizontal: the horizontal #GtkAdjustment * @vertical: the vertical #GtkAdjustment * diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index 6b644ce5d..846a4dae4 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -625,7 +625,7 @@ gtk_im_context_set_surrounding (GtkIMContext *context, * string of text holding context around the insertion point. * If the function returns %TRUE, then you must free the result * stored in this location with g_free(). - * @cursor_index: (out): location to store byte index of the insertion + * @cursor_index: (out) location to store byte index of the insertion * cursor within @text. * * Retrieves context around the insertion point. Input methods diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c index f6a3d832a..129219d5d 100644 --- a/gtk/gtklayout.c +++ b/gtk/gtklayout.c @@ -663,7 +663,6 @@ gtk_layout_class_init (GtkLayoutClass *class) /** * GtkLayout::set-scroll-adjustments - * @layout: the object which received the signal * @horizontal: the horizontal #GtkAdjustment * @vertical: the vertical #GtkAdjustment * diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 167e330fa..058117178 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -1195,24 +1195,16 @@ gboolean gtk_list_store_iter_is_valid (GtkListStore *list_store, GtkTreeIter *iter) { - GSequenceIter *seq_iter; - g_return_val_if_fail (GTK_IS_LIST_STORE (list_store), FALSE); g_return_val_if_fail (iter != NULL, FALSE); - if (iter->user_data == NULL || - list_store->stamp != iter->stamp) + if (!VALID_ITER (iter, list_store)) return FALSE; - for (seq_iter = g_sequence_get_begin_iter (list_store->seq); - !g_sequence_iter_is_end (seq_iter); - seq_iter = g_sequence_iter_next (seq_iter)) - { - if (seq_iter == iter->user_data) - return TRUE; - } + if (g_sequence_iter_get_sequence (iter->user_data) != list_store->seq) + return FALSE; - return FALSE; + return TRUE; } static gboolean real_gtk_list_store_row_draggable (GtkTreeDragSource *drag_source, diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 9124f001c..64b421236 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1939,11 +1939,6 @@ gtk_grab_remove (GtkWidget *widget) } } -/** - * gtk_init_add: - * @function: (scope async): function to call during initialization - * @data: (allow-none): data to pass to @function - */ void gtk_init_add (GtkFunction function, gpointer data) @@ -1957,15 +1952,6 @@ gtk_init_add (GtkFunction function, init_functions = g_list_prepend (init_functions, init); } -/** - * gtk_key_snooper_install: - * @snooper: (scope forever): key snooper function to install - * @func_data: (allow-none): data to pass to @snooper - * - * Installs a key snooper function. - * - * Returns: handler id for the key snooper - */ guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, gpointer func_data) @@ -2027,16 +2013,6 @@ gtk_invoke_key_snoopers (GtkWidget *grab_widget, return return_val; } -/** - * gtk_quit_add_full: - * @main_level: main loop level - * @function: (scope notified) (closure data) (destroy destroy): function to call when the main loop level is left - * @marshal: (scope notified) (closure data) (destroy destroy) (allow-none): marshal to invoke @function - * @data: (allow-none): data to pass to @function - * @destroy: (allow-none): destroy notifier for @data - * - * Returns: handler id for the quit function - */ guint gtk_quit_add_full (guint main_level, GtkFunction function, @@ -2099,14 +2075,6 @@ gtk_quit_add_destroy (guint main_level, gtk_quit_add (main_level, (GtkFunction) gtk_quit_destructor, object_p); } -/** - * gtk_quit_add: - * @main_level: main loop level - * @function: (scope async): function to call when the main loop level is left - * @data: (allow-none): data to pass to @function - * - * Returns: handler id for the quit function - */ guint gtk_quit_add (guint main_level, GtkFunction function, @@ -2163,18 +2131,6 @@ gtk_quit_remove_by_data (gpointer data) } } -/** - * gtk_timeout_add_full: - * @interval: timeout interval in milliseconds - * @function: (scope notified) (closure data) (destroy destroy): function to call when the timeout expires - * @marshal: (scope notified) (closure data) (destroy destroy) (allow-none): marshal to invoke @function - * @data: (allow-none): data to pass to @function - * @destroy: (allow-none): destroy notifier for @data - * - * Registers a timeout function. - * - * Returns: handler id for the timeout source - */ guint gtk_timeout_add_full (guint32 interval, GtkFunction function, @@ -2200,16 +2156,6 @@ gtk_timeout_add_full (guint32 interval, return g_timeout_add_full (0, interval, function, data, destroy); } -/** - * gtk_timeout_add: - * @interval: timeout interval in milliseconds - * @function: (scope forever): function to call when the timeout expires - * @data: (allow-none): data to pass to @function - * - * Registers a timeout function. - * - * Returns: handler id for the timeout source - */ guint gtk_timeout_add (guint32 interval, GtkFunction function, @@ -2224,18 +2170,6 @@ gtk_timeout_remove (guint tag) g_source_remove (tag); } -/** - * gtk_idle_add_full: - * @priority: priority of the idle source - * @function: (scope notified) (closure data) (destroy destroy): function to call when the main loop is idle - * @marshal: (scope notified) (closure data) (destroy destroy) (allow-none): marshal to invoke @function - * @data: (allow-none): data to pass to @function - * @destroy: (allow-none): destroy notifier for @data - * - * Registers an idle function with a priority. - * - * Returns: handler id for the idle source - */ guint gtk_idle_add_full (gint priority, GtkFunction function, @@ -2261,15 +2195,6 @@ gtk_idle_add_full (gint priority, return g_idle_add_full (priority, function, data, destroy); } -/** - * gtk_idle_add: - * @function: (scope forever): function to call when the main loop is idle - * @data: (allow-none): data to pass to @function - * - * Registers an idle function. - * - * Returns: handler id for the idle source - */ guint gtk_idle_add (GtkFunction function, gpointer data) @@ -2277,16 +2202,6 @@ gtk_idle_add (GtkFunction function, return g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, function, data, NULL); } -/** - * gtk_idle_add_priority: - * @priority: priority of the idle source - * @function: (scope forever): function to call when the main loop is idle - * @data: (allow-none): data to pass to @function - * - * Registers an idle function with a priority. - * - * Returns: handler id for the idle source - */ guint gtk_idle_add_priority (gint priority, GtkFunction function, @@ -2308,19 +2223,6 @@ gtk_idle_remove_by_data (gpointer data) g_warning ("gtk_idle_remove_by_data(%p): no such idle", data); } -/** - * gtk_input_add_full: - * @source: file descriptor to watch - * @condition: condition to watch for - * @function: (scope notified) (closure data) (destroy destroy): function to call when @condition is met - * @marshal: (scope notified) (closure data) (destroy destroy) (allow-none): marshal to invoke @function - * @data: (allow-none): data to pass to @function - * @destroy: (allow-none): destroy notifier for @data - * - * Registers an input function. - * - * Returns: handler id for the input source - */ guint gtk_input_add_full (gint source, GdkInputCondition condition, diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 08de60aea..a9800f396 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -1151,14 +1151,6 @@ attach_widget_screen_changed (GtkWidget *attach_widget, } } -/** - * gtk_menu_attach_to_widget: - * @menu: a #GtkMenu - * @attach_widget: the #GtkWidget that the menu will be attached to - * @detacher: (allow-none) (scope async): a callback called when the menu is detached, or %NULL - * - * Attaches @menu to @attach_widget. - */ void gtk_menu_attach_to_widget (GtkMenu *menu, GtkWidget *attach_widget, @@ -1395,7 +1387,7 @@ popup_grab_on_window (GdkWindow *window, * @menu: a #GtkMenu. * @parent_menu_shell: (allow-none): the menu shell containing the triggering menu item, or %NULL * @parent_menu_item: (allow-none): the menu item whose activation triggered the popup, or %NULL - * @func: (allow-none) (scope async): a user supplied function used to position the menu, or %NULL + * @func: (allow-none): a user supplied function used to position the menu, or %NULL * @data: (allow-none): user supplied data to be passed to @func. * @button: the mouse button which was pressed to initiate the event. * @activate_time: the time at which the activation event occurred. diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 1b514ca5f..5d17ed03e 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -7820,7 +7820,7 @@ gtk_notebook_set_group (GtkNotebook *notebook, /** * gtk_notebook_set_group_name: * @notebook: a #GtkNotebook - * @group_name: (allow-none): the name of the notebook group, or %NULL to unset it + * @name: (allow-none): the name of the notebook group, or %NULL to unset it * * Sets a group name for @notebook. * diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 36e532363..16de34682 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -2232,7 +2232,7 @@ gtk_paned_toggle_handle_focus (GtkPaned *paned) /** * gtk_paned_get_handle_window: - * @paned: a #GtkPaned + * @panede: a #GtkPaned * * Returns the #GdkWindow of the handle. This function is * useful when handling button or motion events because it diff --git a/gtk/gtkpapersize.c b/gtk/gtkpapersize.c index 1ca780b33..418dd1008 100644 --- a/gtk/gtkpapersize.c +++ b/gtk/gtkpapersize.c @@ -454,8 +454,7 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom) { GList *list = NULL; guint i; -#ifdef G_OS_UNIX - /* _gtk_load_custom_papers() only on Unix so far */ +#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */ if (include_custom) { GList *page_setups, *l; diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index eb100972c..5b823f0fe 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -869,6 +869,7 @@ add_grabbed_key_always (gpointer key, /** * _gtk_plug_add_all_grabbed_keys: + * * @plug: a #GtkPlug * * Calls _gtk_plug_windowing_add_grabbed_key() on all the grabbed keys @@ -996,6 +997,7 @@ gtk_plug_check_resize (GtkContainer *container) /** * _gtk_plug_handle_modality_on: + * * @plug: a #GtkPlug * * Called from the GtkPlug backend when the corresponding socket has @@ -1017,6 +1019,7 @@ _gtk_plug_handle_modality_on (GtkPlug *plug) /** * _gtk_plug_handle_modality_off: + * * @plug: a #GtkPlug * * Called from the GtkPlug backend when the corresponding socket has @@ -1034,6 +1037,7 @@ _gtk_plug_handle_modality_off (GtkPlug *plug) /** * _gtk_plug_focus_first_last: + * * @plug: a #GtkPlug * @direction: a direction * diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index cbb6cd376..387dced67 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -1019,7 +1019,7 @@ gtk_print_run_page_setup_dialog (GtkWindow *parent, * @parent: (allow-none): transient parent, or %NULL * @page_setup: (allow-none): an existing #GtkPageSetup, or %NULL * @settings: a #GtkPrintSettings - * @done_cb: (scope async): a function to call when the user saves the modified page setup + * @done_cb: a function to call when the user saves the modified page setup * @data: user data to pass to @done_cb * * Runs a page setup dialog, letting the user modify the values from @page_setup. diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index 5ded21bf8..9c0beb7f7 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -391,7 +391,7 @@ create_menu_item (GtkAction *action) * } * ]| * - * Returns: (element-type GtkRadioAction) (transfer none): the list representing the radio group for this object + * Returns: (element-type GtkAction) (transfer none): the list representing the radio group for this object * * Since: 2.4 */ @@ -406,7 +406,7 @@ gtk_radio_action_get_group (GtkRadioAction *action) /** * gtk_radio_action_set_group: * @action: the action object - * @group: (element-type GtkRadioAction): a list representing a radio group + * @group: a list representing a radio group * * Sets the radio group for the radio action object. * diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index a0f9c9e72..52dc28bd7 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -256,7 +256,7 @@ gtk_radio_button_set_group (GtkRadioButton *radio_button, /** * gtk_radio_button_new: - * @group: (allow-none) (element-type GtkRadioButton): an existing radio button group, or %NULL if you are + * @group: (allow-none): an existing radio button group, or %NULL if you are * creating a new group. * * Creates a new #GtkRadioButton. To be of any practical value, a widget should @@ -279,7 +279,7 @@ gtk_radio_button_new (GSList *group) /** * gtk_radio_button_new_with_label: - * @group: (allow-none) (element-type GtkRadioButton): an existing radio button group, or %NULL if you are + * @group: (allow-none): an existing radio button group, or %NULL if you are * creating a new group. * @label: the text label to display next to the radio button. * @@ -303,7 +303,7 @@ gtk_radio_button_new_with_label (GSList *group, /** * gtk_radio_button_new_with_mnemonic: - * @group: (element-type GtkRadioButton): the radio button group + * @group: the radio button group * @label: the text of the button, with an underscore in front of the * mnemonic character * diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c index 456f62a36..01eb4c1bb 100644 --- a/gtk/gtkradiomenuitem.c +++ b/gtk/gtkradiomenuitem.c @@ -55,14 +55,6 @@ static guint group_changed_signal = 0; G_DEFINE_TYPE (GtkRadioMenuItem, gtk_radio_menu_item, GTK_TYPE_CHECK_MENU_ITEM) -/** - * gtk_radio_menu_item_new: - * @group: (allow-none) (element-type GtkRadioMenuItem): group the radio menu item is inside, or %NULL - * - * Creates a new #GtkRadioMenuItem. - * - * Returns: (transfer none): A new #GtkRadioMenuItem - */ GtkWidget* gtk_radio_menu_item_new (GSList *group) { @@ -116,13 +108,6 @@ gtk_radio_menu_item_get_property (GObject *object, } } -/** - * gtk_radio_menu_item_set_group: - * @radio_menu_item: a #GtkRadioMenuItem - * @group: (allow-none) (element-type GtkRadioMenuItem): the radio menu item group - * - * Sets the group of @radio_menu_item. - */ void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, GSList *group) @@ -225,7 +210,7 @@ gtk_radio_menu_item_new_with_label (GSList *group, /** * gtk_radio_menu_item_new_with_mnemonic: - * @group: (element-type GtkRadioMenuItem): group the radio menu item is inside + * @group: group the radio menu item is inside * @label: the text of the button, with an underscore in front of the * mnemonic character * @returns: a new #GtkRadioMenuItem @@ -339,7 +324,7 @@ gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, * Returns the group to which the radio menu item belongs, as a #GList of * #GtkRadioMenuItem. The list belongs to GTK+ and should not be freed. * - * Returns: (element-type GtkRadioMenuItem) (transfer none): the group of @radio_menu_item + * Returns: (transfer none): the group of @radio_menu_item */ GSList* gtk_radio_menu_item_get_group (GtkRadioMenuItem *radio_menu_item) diff --git a/gtk/gtkradiotoolbutton.c b/gtk/gtkradiotoolbutton.c index 9415ac6b9..1db8c3910 100644 --- a/gtk/gtkradiotoolbutton.c +++ b/gtk/gtkradiotoolbutton.c @@ -109,7 +109,7 @@ gtk_radio_tool_button_set_property (GObject *object, /** * gtk_radio_tool_button_new: - * @group: (allow-none) (element-type GtkRadioToolButton): An existing radio button group, or %NULL if you are creating a new group + * @group: (allow-none): An existing radio button group, or %NULL if you are creating a new group * * Creates a new #GtkRadioToolButton, adding it to @group. * @@ -132,7 +132,7 @@ gtk_radio_tool_button_new (GSList *group) /** * gtk_radio_tool_button_new_from_stock: - * @group: (allow-none) (element-type GtkRadioToolButton): an existing radio button group, or %NULL if you are creating a new group + * @group: (allow-none): an existing radio button group, or %NULL if you are creating a new group * @stock_id: the name of a stock item * * Creates a new #GtkRadioToolButton, adding it to @group. @@ -165,7 +165,7 @@ gtk_radio_tool_button_new_from_stock (GSList *group, * gtk_radio_tool_button_new_from_widget: * @group: An existing #GtkRadioToolButton * - * Creates a new #GtkRadioToolButton adding it to the same group as @group + * Creates a new #GtkRadioToolButton adding it to the same group as @gruup * * Return value: (transfer none): The new #GtkRadioToolButton * @@ -223,7 +223,7 @@ get_radio_button (GtkRadioToolButton *button) * * Returns the radio button group @button belongs to. * - * Return value: (element-type GtkRadioToolButton) (transfer none): The group @button belongs to. + * Return value: (transfer none): The group @button belongs to. * * Since: 2.4 */ @@ -238,7 +238,7 @@ gtk_radio_tool_button_get_group (GtkRadioToolButton *button) /** * gtk_radio_tool_button_set_group: * @button: a #GtkRadioToolButton - * @group: (element-type GtkRadioToolButton): an existing radio button group + * @group: an existing radio button group * * Adds @button to @group, removing it from the group it belonged to before. * diff --git a/gtk/gtkrc.h b/gtk/gtkrc.h index 5a9419912..d1e19e9fa 100644 --- a/gtk/gtkrc.h +++ b/gtk/gtkrc.h @@ -228,11 +228,6 @@ typedef enum { GTK_RC_TOKEN_LAST } GtkRcTokenType; -/** - * gtk_rc_scanner_new: - * - * Returns: (type gpointer) (transfer full): a new #GScanner. - */ GScanner* gtk_rc_scanner_new (void); guint gtk_rc_parse_color (GScanner *scanner, GdkColor *color); diff --git a/gtk/gtkrecentchooser.h b/gtk/gtkrecentchooser.h index 77f01aa79..8df0cb2c0 100644 --- a/gtk/gtkrecentchooser.h +++ b/gtk/gtkrecentchooser.h @@ -105,8 +105,8 @@ struct _GtkRecentChooserIface GSList * (* list_filters) (GtkRecentChooser *chooser); void (* set_sort_func) (GtkRecentChooser *chooser, GtkRecentSortFunc sort_func, - gpointer sort_data, - GDestroyNotify data_destroy); + gpointer data, + GDestroyNotify destroy); /* * Signals diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index a7187f5a1..95e19a8ec 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -557,6 +557,9 @@ gtk_recent_bookmark_file_get_added_time (GBookmarkFile *bookmarks, dt = g_bookmark_file_get_added_date_time (bookmarks, uri, NULL); result = dt ? g_date_time_to_unix (dt) : -1; + if (dt) + g_date_time_unref (dt); + return result; #else return g_bookmark_file_get_added (bookmarks, uri, NULL); @@ -574,6 +577,9 @@ gtk_recent_bookmark_file_get_modified_time (GBookmarkFile *bookmarks, dt = g_bookmark_file_get_modified_date_time (bookmarks, uri, NULL); result = dt ? g_date_time_to_unix (dt) : -1; + if (dt) + g_date_time_unref (dt); + return result; #else return g_bookmark_file_get_modified (bookmarks, uri, NULL); @@ -591,6 +597,9 @@ gtk_recent_bookmark_file_get_visited_time (GBookmarkFile *bookmarks, dt = g_bookmark_file_get_visited_date_time (bookmarks, uri, NULL); result = dt ? g_date_time_to_unix (dt) : -1; + if (dt) + g_date_time_unref (dt); + return result; #else return g_bookmark_file_get_visited (bookmarks, uri, NULL); @@ -619,6 +628,9 @@ gtk_recent_bookmark_file_get_application_info (GBookmarkFile *bookmarks, if (stamp && dt) *stamp = g_date_time_to_unix (dt); + if (dt) + g_date_time_unref (dt); + return res; #else time_t old_stamp = (time_t) -1; diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index 065d3967a..17ad469fd 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -302,7 +302,7 @@ gtk_ruler_set_metric (GtkRuler *ruler, * * Return value: the units currently used for @ruler * - * Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being + * @Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being * unmaintained and too specialized. There is no replacement. **/ GtkMetricType @@ -332,7 +332,7 @@ gtk_ruler_get_metric (GtkRuler *ruler) * * This sets the range of the ruler. * - * Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being + * @Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being * unmaintained and too specialized. There is no replacement. */ void @@ -383,7 +383,7 @@ gtk_ruler_set_range (GtkRuler *ruler, * Retrieves values indicating the range and current position of a #GtkRuler. * See gtk_ruler_set_range(). * - * Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being + * @Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being * unmaintained and too specialized. There is no replacement. **/ void diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index d47459dbc..60b07551a 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -538,7 +538,7 @@ gtk_scale_button_dispose (GObject *object) /** * gtk_scale_button_new: - * @size: (type int): a stock icon size + * @size: (int): a stock icon size * @min: the minimum value of the scale (usually 0) * @max: the maximum value of the scale (usually 100) * @step: the stepping of value when a scroll-wheel event, diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h index 91d2be610..eb499e833 100644 --- a/gtk/gtksettings.h +++ b/gtk/gtksettings.h @@ -82,11 +82,6 @@ GtkSettings* gtk_settings_get_default (void); GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); void gtk_settings_install_property (GParamSpec *pspec); -/** - * gtk_settings_install_property_parser: - * @pspec: a #GParamSpec - * @parser: (scope forever): parser for the property - */ void gtk_settings_install_property_parser (GParamSpec *pspec, GtkRcPropertyParser parser); diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index db35526b1..437addd1e 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -433,6 +433,7 @@ gtk_socket_realize (GtkWidget *widget) /** * _gtk_socket_end_embedding: + * * @socket: a #GtkSocket * * Called to end the embedding of a plug in the socket. @@ -606,6 +607,7 @@ find_accel_key (GtkAccelKey *key, /** * _gtk_socket_add_grabbed_key: + * * @socket: a #GtkSocket * @keyval: a key * @modifiers: modifiers for the key @@ -644,6 +646,7 @@ _gtk_socket_add_grabbed_key (GtkSocket *socket, /** * _gtk_socket_remove_grabbed_key: + * * @socket: a #GtkSocket * @keyval: a key * @modifiers: modifiers for the key @@ -782,6 +785,7 @@ gtk_socket_notify (GObject *object, /** * _gtk_socket_claim_focus: + * * @socket: a #GtkSocket * @send_event: huh? * @@ -848,6 +852,7 @@ gtk_socket_forall (GtkContainer *container, /** * _gtk_socket_add_window: + * * @socket: a #GtkSocket * @xid: the native identifier for a window * @need_reparent: whether the socket's plug's window needs to be @@ -960,6 +965,7 @@ _gtk_socket_add_window (GtkSocket *socket, /** * _gtk_socket_handle_map_request: + * * @socket: a #GtkSocket * * Called from the GtkSocket backend when the plug has been mapped. @@ -978,6 +984,7 @@ _gtk_socket_handle_map_request (GtkSocket *socket) /** * _gtk_socket_unmap_notify: + * * @socket: a #GtkSocket * * Called from the GtkSocket backend when the plug has been unmapped ??? @@ -994,6 +1001,7 @@ _gtk_socket_unmap_notify (GtkSocket *socket) /** * _gtk_socket_advance_toplevel_focus: + * * @socket: a #GtkSocket * @direction: a direction * diff --git a/gtk/gtkstock.c b/gtk/gtkstock.c index a8156dbb3..72c332c0b 100644 --- a/gtk/gtkstock.c +++ b/gtk/gtkstock.c @@ -308,19 +308,6 @@ gtk_stock_item_free (GtkStockItem *item) g_free (item); } -GType -gtk_stock_item_get_type (void) -{ - static GType our_type = 0; - - if (our_type == 0) - our_type = g_boxed_type_register_static (I_("GtkStockItem"), - (GBoxedCopyFunc) gtk_stock_item_copy, - (GBoxedFreeFunc) gtk_stock_item_free); - - return our_type; -} - static const GtkStockItem builtin_items [] = { /* KEEP IN SYNC with gtkiconfactory.c stock icons, when appropriate */ diff --git a/gtk/gtkstock.h b/gtk/gtkstock.h index c67e97538..ad53fa685 100644 --- a/gtk/gtkstock.h +++ b/gtk/gtkstock.h @@ -37,8 +37,6 @@ G_BEGIN_DECLS -#define GTK_TYPE_STOCK_ITEM (gtk_stock_item_get_type ()) - typedef struct _GtkStockItem GtkStockItem; struct _GtkStockItem @@ -62,7 +60,6 @@ gboolean gtk_stock_lookup (const gchar *stock_id, */ GSList* gtk_stock_list_ids (void); -GType gtk_stock_item_get_type (void) G_GNUC_CONST; GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item); void gtk_stock_item_free (GtkStockItem *item); diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index a5a20fd7c..7ea8a9665 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -710,7 +710,7 @@ gtk_style_new (void) * in the following way: * style = gtk_style_attach (style, window) * - * Returns: (transfer full): Either @style, or a newly-created #GtkStyle. + * Returns: Either @style, or a newly-created #GtkStyle. * If the style is newly created, the style parameter * will be unref'ed, and the new style will have * a reference count belonging to the caller. @@ -2167,7 +2167,7 @@ gtk_style_real_set_background (GtkStyle *style, * @source: the #GtkIconSource specifying the icon to render * @direction: a text direction * @state: a state - * @size: (type int): the size to render the icon at. A size of + * @size: (type int) the size to render the icon at. A size of * (GtkIconSize)-1 means render at the size of the source and * don't scale. * @widget: (allow-none): the widget diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c index 51154fb3e..84deff065 100644 --- a/gtk/gtktestutils.c +++ b/gtk/gtktestutils.c @@ -499,7 +499,7 @@ gtk_test_text_get (GtkWidget *widget) * g_object_ref_sink() them (to keep them alive across a running test) * and set them up for destruction during the next test teardown phase. * - * Returns: (transfer none): a newly created widget. + * Returns: a newly created widget. * * Since: 2.14 */ @@ -557,7 +557,7 @@ test_increment_intp (int *intp) * The window will quit any running gtk_main()-loop when destroyed, and it * will automatically be destroyed upon test function teardown. * - * Returns: (transfer none): a widget pointer to the newly created GtkWindow. + * Returns: a widget pointer to the newly created GtkWindow. * * Since: 2.14 **/ diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index d73924cdd..900f8b83d 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -585,7 +585,6 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) /** * GtkTextBuffer::paste-done: * @textbuffer: the object which received the signal - * @clipboard: the #GtkClipboard pasted from * * The paste-done signal is emitted after paste operation has been completed. * This is useful to properly scroll the view to the end of the pasted text. @@ -1877,10 +1876,10 @@ gtk_text_buffer_real_insert_pixbuf (GtkTextBuffer *buffer, /** * gtk_text_buffer_insert_pixbuf: * @buffer: a #GtkTextBuffer - * @pos: location to insert the pixbuf + * @iter: location to insert the pixbuf * @pixbuf: a #GdkPixbuf * - * Inserts an image into the text buffer at @pos. The image will be + * Inserts an image into the text buffer at @iter. The image will be * counted as one character in character counts, and when obtaining * the buffer contents as a string, will be represented by the Unicode * "object replacement character" 0xFFFC. Note that the "slice" @@ -1891,16 +1890,16 @@ gtk_text_buffer_real_insert_pixbuf (GtkTextBuffer *buffer, **/ void gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer, - GtkTextIter *pos, + GtkTextIter *iter, GdkPixbuf *pixbuf) { g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer)); - g_return_if_fail (pos != NULL); + g_return_if_fail (iter != NULL); g_return_if_fail (GDK_IS_PIXBUF (pixbuf)); - g_return_if_fail (gtk_text_iter_get_buffer (pos) == buffer); + g_return_if_fail (gtk_text_iter_get_buffer (iter) == buffer); g_signal_emit (buffer, signals[INSERT_PIXBUF], 0, - pos, pixbuf); + iter, pixbuf); } /* @@ -1921,10 +1920,10 @@ gtk_text_buffer_real_insert_anchor (GtkTextBuffer *buffer, /** * gtk_text_buffer_insert_child_anchor: * @buffer: a #GtkTextBuffer - * @pos: location to insert the anchor + * @iter: location to insert the anchor * @anchor: a #GtkTextChildAnchor * - * Inserts a child widget anchor into the text buffer at @pos. The + * Inserts a child widget anchor into the text buffer at @iter. The * anchor will be counted as one character in character counts, and * when obtaining the buffer contents as a string, will be represented * by the Unicode "object replacement character" 0xFFFC. Note that the @@ -1938,16 +1937,16 @@ gtk_text_buffer_real_insert_anchor (GtkTextBuffer *buffer, **/ void gtk_text_buffer_insert_child_anchor (GtkTextBuffer *buffer, - GtkTextIter *pos, + GtkTextIter *iter, GtkTextChildAnchor *anchor) { g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer)); - g_return_if_fail (pos != NULL); + g_return_if_fail (iter != NULL); g_return_if_fail (GTK_IS_TEXT_CHILD_ANCHOR (anchor)); - g_return_if_fail (gtk_text_iter_get_buffer (pos) == buffer); + g_return_if_fail (gtk_text_iter_get_buffer (iter) == buffer); g_signal_emit (buffer, signals[INSERT_CHILD_ANCHOR], 0, - pos, anchor); + iter, anchor); } /** @@ -2568,56 +2567,57 @@ gtk_text_buffer_emit_tag (GtkTextBuffer *buffer, * gtk_text_buffer_apply_tag: * @buffer: a #GtkTextBuffer * @tag: a #GtkTextTag - * @start_char: one bound of range to be tagged - * @end_char: other bound of range to be tagged + * @start: one bound of range to be tagged + * @end: other bound of range to be tagged * * Emits the "apply-tag" signal on @buffer. The default * handler for the signal applies @tag to the given range. - * @start_char and @end_char do not have to be in order. + * @start and @end do not have to be in order. **/ void gtk_text_buffer_apply_tag (GtkTextBuffer *buffer, GtkTextTag *tag, - const GtkTextIter *start_char, - const GtkTextIter *end_char) + const GtkTextIter *start, + const GtkTextIter *end) { g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer)); g_return_if_fail (GTK_IS_TEXT_TAG (tag)); - g_return_if_fail (start_char != NULL); - g_return_if_fail (end_char != NULL); - g_return_if_fail (gtk_text_iter_get_buffer (start_char) == buffer); - g_return_if_fail (gtk_text_iter_get_buffer (end_char) == buffer); + g_return_if_fail (start != NULL); + g_return_if_fail (end != NULL); + g_return_if_fail (gtk_text_iter_get_buffer (start) == buffer); + g_return_if_fail (gtk_text_iter_get_buffer (end) == buffer); g_return_if_fail (tag->table == buffer->tag_table); - gtk_text_buffer_emit_tag (buffer, tag, TRUE, start_char, end_char); + gtk_text_buffer_emit_tag (buffer, tag, TRUE, start, end); } /** * gtk_text_buffer_remove_tag: * @buffer: a #GtkTextBuffer * @tag: a #GtkTextTag - * @start_char: one bound of range to be untagged - * @end_char: other bound of range to be untagged + * @start: one bound of range to be untagged + * @end: other bound of range to be untagged * * Emits the "remove-tag" signal. The default handler for the signal - * removes all occurrences of @tag from the given range. @start_char and - * @end_char don't have to be in order. + * removes all occurrences of @tag from the given range. @start and + * @end don't have to be in order. **/ void gtk_text_buffer_remove_tag (GtkTextBuffer *buffer, GtkTextTag *tag, - const GtkTextIter *start_char, - const GtkTextIter *end_char) + const GtkTextIter *start, + const GtkTextIter *end) + { g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer)); g_return_if_fail (GTK_IS_TEXT_TAG (tag)); - g_return_if_fail (start_char != NULL); - g_return_if_fail (end_char != NULL); - g_return_if_fail (gtk_text_iter_get_buffer (start_char) == buffer); - g_return_if_fail (gtk_text_iter_get_buffer (end_char) == buffer); + g_return_if_fail (start != NULL); + g_return_if_fail (end != NULL); + g_return_if_fail (gtk_text_iter_get_buffer (start) == buffer); + g_return_if_fail (gtk_text_iter_get_buffer (end) == buffer); g_return_if_fail (tag->table == buffer->tag_table); - gtk_text_buffer_emit_tag (buffer, tag, FALSE, start_char, end_char); + gtk_text_buffer_emit_tag (buffer, tag, FALSE, start, end); } /** diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index 3d80c3ef7..5b6e7bf7d 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -240,12 +240,12 @@ gchar *gtk_text_buffer_get_slice (GtkTextBuffer *buffer, /* Insert a pixbuf */ void gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer, - GtkTextIter *pos, + GtkTextIter *iter, GdkPixbuf *pixbuf); /* Insert a child anchor */ void gtk_text_buffer_insert_child_anchor (GtkTextBuffer *buffer, - GtkTextIter *pos, + GtkTextIter *iter, GtkTextChildAnchor *anchor); /* Convenience, create and insert a child anchor */ @@ -289,12 +289,12 @@ void gtk_text_buffer_select_range (GtkTextBuffer *buffer, /* Tag manipulation */ void gtk_text_buffer_apply_tag (GtkTextBuffer *buffer, GtkTextTag *tag, - const GtkTextIter *start_char, - const GtkTextIter *end_char); + const GtkTextIter *start, + const GtkTextIter *end); void gtk_text_buffer_remove_tag (GtkTextBuffer *buffer, GtkTextTag *tag, - const GtkTextIter *start_char, - const GtkTextIter *end_char); + const GtkTextIter *start, + const GtkTextIter *end); void gtk_text_buffer_apply_tag_by_name (GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *start, diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index 0b55382a9..daa8575a2 100644 --- a/gtk/gtktextdisplay.c +++ b/gtk/gtktextdisplay.c @@ -744,22 +744,6 @@ get_text_renderer (GdkScreen *screen) return text_renderer; } -/** - * gtk_text_layout_draw: - * @layout: (type gpointer): a #GtkTextLayout - * @widget: widget to grab some style information from - * @drawable: drawable to render to - * @cursor_gc: graphics context to use for the cursor - * @x_offset: X position of the drawable in layout coordinates - * @y_offset: Y position of the drawable in layout coordinates - * @x: X position of the region of the layout to render - * @y: Y position of the region of the layout to render - * @width: width of the region of the layout to render - * @height: height of the region of the layout to render - * @widgets: (out) (element-type GtkWidget): list of widgets that need exposing - * - * Draws a text layout. - */ void gtk_text_layout_draw (GtkTextLayout *layout, GtkWidget *widget, diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index 6e462e3e0..72be696e0 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -2449,7 +2449,7 @@ gtk_text_iter_forward_text_chars (GtkTextIter *iter, } /** - * gtk_text_iter_backward_text_chars: + * gtk_text_iter_forward_text_chars: * @iter: a #GtkTextIter * @count: number of chars to move * diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 1769094a4..f3805d079 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -968,7 +968,6 @@ gtk_text_view_class_init (GtkTextViewClass *klass) /** * GtkTextView::set-scroll-adjustments - * @text_view: the object which received the signal * @horizontal: the horizontal #GtkAdjustment * @vertical: the vertical #GtkAdjustment * diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c index 7a4c54867..337a6f912 100644 --- a/gtk/gtktoolshell.c +++ b/gtk/gtktoolshell.c @@ -34,7 +34,7 @@ * The #GtkToolShell interface allows container widgets to provide additional * information when embedding #GtkToolItem widgets. * - * See also: #GtkToolbar, #GtkToolItem + * @see_also: #GtkToolbar, #GtkToolItem */ /** diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index d74ca2303..28bac07ad 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -197,14 +197,6 @@ gtk_tooltips_set_delay (GtkTooltips *tooltips, tooltips->delay = delay; } -/** - * gtk_tooltips_data_get: - * @widget: a #GtkWidget - * - * Retrieves tooltip data for @widget. - * - * Returns: (transfer none) (type gpointer): the tooltip data for @widget - */ GtkTooltipsData* gtk_tooltips_data_get (GtkWidget *widget) { diff --git a/gtk/gtktooltips.h b/gtk/gtktooltips.h index eb1e0a0be..dadc73edc 100644 --- a/gtk/gtktooltips.h +++ b/gtk/gtktooltips.h @@ -24,11 +24,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifdef __GI_SCANNER__ -#define GTK_TOOLTIPS_VISIBLE_FOR_GI_SCANNER -#endif - -#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_TOOLTIPS_VISIBLE_FOR_GI_SCANNER) +#ifndef GTK_DISABLE_DEPRECATED #ifndef __GTK_TOOLTIPS_H__ #define __GTK_TOOLTIPS_H__ @@ -110,8 +106,4 @@ G_END_DECLS #endif /* __GTK_TOOLTIPS_H__ */ -#endif /* !GTK_DISABLE_DEPRECATED || GTK_TOOLTIPS_VISIBLE_FOR_GI_SCANNER */ - -#ifdef GTK_TOOLTIPS_VISIBLE_FOR_GI_SCANNER -#undef GTK_TOOLTIPS_VISIBLE_FOR_GI_SCANNER -#endif +#endif /* GTK_DISABLE_DEPRECATED */ diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c index 5d69d998e..2755f3f42 100644 --- a/gtk/gtktreemodel.c +++ b/gtk/gtktreemodel.c @@ -450,9 +450,9 @@ gtk_tree_path_new_from_string (const gchar *path) /** * gtk_tree_path_new_from_indices: * @first_index: first integer - * @...: list of integers terminated by -1 + * @varargs: list of integers terminated by -1 * - * Creates a new path with @first_index and @... as indices. + * Creates a new path with @first_index and @varargs as indices. * * Return value: A newly created #GtkTreePath. * @@ -975,7 +975,7 @@ gtk_tree_model_get_n_columns (GtkTreeModel *tree_model) * * Returns the type of the column. * - * Return value: The type of the column. + * Return value: (transfer none): The type of the column. **/ GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, diff --git a/gtk/gtktreesortable.h b/gtk/gtktreesortable.h index b090f4c0b..968c42fb8 100644 --- a/gtk/gtktreesortable.h +++ b/gtk/gtktreesortable.h @@ -67,12 +67,12 @@ struct _GtkTreeSortableIface GtkSortType order); void (* set_sort_func) (GtkTreeSortable *sortable, gint sort_column_id, - GtkTreeIterCompareFunc sort_func, - gpointer user_data, + GtkTreeIterCompareFunc func, + gpointer data, GDestroyNotify destroy); void (* set_default_sort_func) (GtkTreeSortable *sortable, - GtkTreeIterCompareFunc sort_func, - gpointer user_data, + GtkTreeIterCompareFunc func, + gpointer data, GDestroyNotify destroy); gboolean (* has_default_sort_func) (GtkTreeSortable *sortable); }; diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index fc4d79780..d365186a4 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -876,7 +876,6 @@ gtk_tree_view_class_init (GtkTreeViewClass *class) /* Signals */ /** * GtkTreeView::set-scroll-adjustments - * @tree_view: the object which received the signal * @horizontal: the horizontal #GtkAdjustment * @vertical: the vertical #GtkAdjustment * @@ -14038,7 +14037,7 @@ gtk_tree_view_set_search_column (GtkTreeView *tree_view, * * Returns the compare function currently in use. * - * Return value: (type gpointer) (transfer none): the currently used compare function for the search code. + * Return value: the currently used compare function for the search code. */ GtkTreeViewSearchEqualFunc @@ -14205,7 +14204,7 @@ gtk_tree_view_set_search_position_func (GtkTreeView *tree_view * * Returns the positioning function currently in use. * - * Return value: (type gpointer) (transfer none): the currently used function for positioning the search dialog. + * Return value: the currently used function for positioning the search dialog. * * Since: 2.10 */ @@ -15100,7 +15099,7 @@ gtk_tree_view_is_rubber_banding_active (GtkTreeView *tree_view) * * Returns the current row separator function. * - * Return value: (type gpointer) (transfer none): the current row separator function. + * Return value: the current row separator function. * * Since: 2.6 **/ diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index a5078eba1..e101d8f95 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -817,7 +817,7 @@ gtk_ui_manager_get_accel_group (GtkUIManager *self) /** * gtk_ui_manager_get_widget: - * @manager: a #GtkUIManager + * @self: a #GtkUIManager * @path: a path * * Looks up a widget by following a path. @@ -840,13 +840,13 @@ gtk_ui_manager_get_accel_group (GtkUIManager *self) * Since: 2.4 **/ GtkWidget * -gtk_ui_manager_get_widget (GtkUIManager *manager, +gtk_ui_manager_get_widget (GtkUIManager *self, const gchar *path) { - g_return_val_if_fail (GTK_IS_UI_MANAGER (manager), NULL); + g_return_val_if_fail (GTK_IS_UI_MANAGER (self), NULL); g_return_val_if_fail (path != NULL, NULL); - return GTK_UI_MANAGER_GET_CLASS (manager)->get_widget (manager, path); + return GTK_UI_MANAGER_GET_CLASS (self)->get_widget (self, path); } typedef struct { @@ -920,7 +920,7 @@ gtk_ui_manager_get_toplevels (GtkUIManager *self, /** * gtk_ui_manager_get_action: - * @manager: a #GtkUIManager + * @self: a #GtkUIManager * @path: a path * * Looks up an action by following a path. See gtk_ui_manager_get_widget() @@ -932,13 +932,13 @@ gtk_ui_manager_get_toplevels (GtkUIManager *self, * Since: 2.4 **/ GtkAction * -gtk_ui_manager_get_action (GtkUIManager *manager, +gtk_ui_manager_get_action (GtkUIManager *self, const gchar *path) { - g_return_val_if_fail (GTK_IS_UI_MANAGER (manager), NULL); + g_return_val_if_fail (GTK_IS_UI_MANAGER (self), NULL); g_return_val_if_fail (path != NULL, NULL); - return GTK_UI_MANAGER_GET_CLASS (manager)->get_action (manager, path); + return GTK_UI_MANAGER_GET_CLASS (self)->get_action (self, path); } static gboolean diff --git a/gtk/gtkuimanager.h b/gtk/gtkuimanager.h index c626ebc38..5faa53c4a 100644 --- a/gtk/gtkuimanager.h +++ b/gtk/gtkuimanager.h @@ -122,11 +122,11 @@ void gtk_ui_manager_remove_action_group (GtkUIManager *self, GtkActionGroup *action_group); GList *gtk_ui_manager_get_action_groups (GtkUIManager *self); GtkAccelGroup *gtk_ui_manager_get_accel_group (GtkUIManager *self); -GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, +GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *self, const gchar *path); GSList *gtk_ui_manager_get_toplevels (GtkUIManager *self, GtkUIManagerItemType types); -GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager, +GtkAction *gtk_ui_manager_get_action (GtkUIManager *self, const gchar *path); guint gtk_ui_manager_add_ui_from_string (GtkUIManager *self, const gchar *buffer, diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index ef67ec0cd..3885ae315 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -146,7 +146,6 @@ gtk_viewport_class_init (GtkViewportClass *class) /** * GtkViewport::set-scroll-adjustments - * @viewport: the object which received the signal * @horizontal: the horizontal #GtkAdjustment * @vertical: the vertical #GtkAdjustment * diff --git a/gtk/gtkvruler.c b/gtk/gtkvruler.c index f93ac833f..1cfeb156a 100644 --- a/gtk/gtkvruler.c +++ b/gtk/gtkvruler.c @@ -73,7 +73,7 @@ gtk_vruler_init (GtkVRuler *vruler) * * Returns: a new #GtkVRuler. * - * Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being + * @Deprecated: 2.24: #GtkRuler has been removed from GTK 3 for being * unmaintained and too specialized. There is no replacement. */ GtkWidget * diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 447303dfd..ccb641ad5 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -5279,7 +5279,7 @@ gtk_widget_intersect (GtkWidget *widget, * @widget->allocation. That is, relative to @widget->window * for %NO_WINDOW widgets; relative to the parent window * of @widget->window for widgets with their own window. - * @returns: (transfer full): A newly allocated region holding the intersection of @widget + * @returns: A newly allocated region holding the intersection of @widget * and @region. The coordinates of the return value are * relative to @widget->window for %NO_WINDOW widgets, and * relative to the parent window of @widget->window for @@ -7416,7 +7416,7 @@ gtk_widget_create_pango_layout (GtkWidget *widget, * gtk_widget_render_icon: * @widget: a #GtkWidget * @stock_id: a stock ID - * @size: (type int): a stock size. A size of (GtkIconSize)-1 means + * @size: (type int) a stock size. A size of (GtkIconSize)-1 means * render at the size of the source and don't scale (if there are * multiple source sizes, GTK+ picks one of the available sizes). * @detail: (allow-none): render detail to pass to theme engine @@ -9667,7 +9667,7 @@ expose_window (GdkWindow *window) * * The returned pixmap can be %NULL, if the resulting @clip_area was empty. * - * Return value: (nullable) (transfer full): #GdkPixmap snapshot of the widget + * Return value: #GdkPixmap snapshot of the widget * * Since: 2.14 **/ @@ -9817,7 +9817,7 @@ gtk_widget_get_snapshot (GtkWidget *widget, * gtk_widget_class_install_style_property_parser: * @klass: a #GtkWidgetClass * @pspec: the #GParamSpec for the style property - * @parser: (scope forever): the parser for the style property + * @parser: the parser for the style property * * Installs a style property on a widget class. **/ diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 5d0543db1..14645467b 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -660,7 +660,7 @@ struct _GtkWidgetClass void (* grab_notify) (GtkWidget *widget, gboolean was_grabbed); void (* child_notify) (GtkWidget *widget, - GParamSpec *child_property); + GParamSpec *pspec); /* Mnemonics */ gboolean (* mnemonic_activate) (GtkWidget *widget, @@ -1132,7 +1132,7 @@ gboolean gtk_widget_hide_on_delete (GtkWidget *widget); /* Widget styles. */ -void gtk_widget_style_attach (GtkWidget *widget); +void gtk_widget_style_attach (GtkWidget *style); gboolean gtk_widget_has_rc_style (GtkWidget *widget); void gtk_widget_set_style (GtkWidget *widget, diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 26944b03e..52457722e 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -3384,7 +3384,7 @@ gtk_window_unrealize_icon (GtkWindow *window) /** * gtk_window_set_icon_list: * @window: a #GtkWindow - * @list: (element-type GdkPixbuf): list of #GdkPixbuf + * @list: list of #GdkPixbuf * * Sets up the icon representing a #GtkWindow. The icon is used when * the window is minimized (also known as iconified). Some window @@ -7780,7 +7780,7 @@ gtk_window_has_group (GtkWindow *window) } /** - * gtk_window_group_get_current_grab: + * gtk_window_group_get_current_current_grab: * @window_group: a #GtkWindowGroup * * Gets the current grab widget of the given group, diff --git a/gtk/makefile.msc.in b/gtk/makefile.msc.in index 97db1b787..81789cbb0 100644 --- a/gtk/makefile.msc.in +++ b/gtk/makefile.msc.in @@ -652,8 +652,8 @@ gtk-win32-$(GTK_VER)s.lib : $(gtk_OBJECTS) gtk-query-immodules-$(GTK_VER).exe : queryimmodules.obj $(CC) $(CFLAGS) -Fe$@ queryimmodules.obj $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LDFLAGS) -gtk-update-icon-cache.exe : updateiconcache.obj gtkpixdatautils.obj - $(CC) $(CFLAGS) -Fe$@ updateiconcache.obj gtkpixdatautils.obj $(GDK_PIXBUF_LIBS) $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS) $(LDFLAGS) +gtk-update-icon-cache.exe : updateiconcache.obj + $(CC) $(CFLAGS) -Fe$@ updateiconcache.obj $(GDK_PIXBUF_LIBS) $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS) $(LDFLAGS) gtk-x11-$(GTK_VER).dll : $(gtk_OBJECTS) gtk.def $(CC) $(CFLAGS) -LD -Fm -Fegtk-x11-$(GTK_VER).dll $(gtk_OBJECTS) ../gdk/gdk-x11-$(GTK_VER).lib $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(INTL_LIBS) $(GLIB_LIBS) gdi32.lib user32.lib advapi32.lib $(LDFLAGS) /def:gtk.def diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c index e4e798727..0b27b3481 100644 --- a/gtk/tests/defaultvalue.c +++ b/gtk/tests/defaultvalue.c @@ -129,16 +129,6 @@ test_type (gconstpointer data) (strcmp (pspec->name, "default-display") == 0)) continue; - /* A bare g_object_new(GDK_TYPE_PIXBUF, NULL) may create fallback - * dummy storage. Its rowstride is derived from the resulting - * storage layout and does not have to match the ParamSpec default. - */ - if (g_type_is_a (type, GDK_TYPE_PIXBUF) && - (strcmp (pspec->name, "rowstride") == 0 || - strcmp (pspec->name, "pixels") == 0 || - strcmp (pspec->name, "pixel-bytes") == 0)) - continue; - if (g_type_is_a (type, GDK_TYPE_PANGO_RENDERER) && (strcmp (pspec->name, "screen") == 0)) continue; diff --git a/modules/other/gail/gailcellparent.c b/modules/other/gail/gailcellparent.c index b9abfa945..883b7194a 100644 --- a/modules/other/gail/gailcellparent.c +++ b/modules/other/gail/gailcellparent.c @@ -26,11 +26,11 @@ GType gail_cell_parent_get_type (void) { - static gsize g_define_type_id = 0; + static volatile gsize g_define_type_id__volatile = 0; - if (g_once_init_enter (&g_define_type_id)) + if (g_once_init_enter (&g_define_type_id__volatile)) { - GType type_id = + GType g_define_type_id = g_type_register_static_simple (G_TYPE_INTERFACE, "GailCellParent", sizeof (GailCellParentIface), @@ -39,10 +39,10 @@ gail_cell_parent_get_type (void) NULL, 0); - g_once_init_leave (&g_define_type_id, type_id); + g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); } - return g_define_type_id; + return g_define_type_id__volatile; } /** diff --git a/modules/other/gail/gailfactory.h b/modules/other/gail/gailfactory.h index 7d0e40f4d..d9d222198 100644 --- a/modules/other/gail/gailfactory.h +++ b/modules/other/gail/gailfactory.h @@ -62,10 +62,10 @@ type_name##_factory_class_init (AtkObjectFactoryClass *klass) \ GType \ type_name##_factory_get_type (void) \ { \ - static gsize g_define_type_id = 0; \ - if (g_once_init_enter (&g_define_type_id)) \ + static volatile gsize g_define_type_id__volatile = 0; \ + if (g_once_init_enter (&g_define_type_id__volatile)) \ { \ - GType type_id = \ + GType g_define_type_id = \ g_type_register_static_simple (ATK_TYPE_OBJECT_FACTORY, \ g_intern_static_string (#TypeName "Factory"), \ sizeof (AtkObjectFactoryClass), \ @@ -73,9 +73,9 @@ type_name##_factory_get_type (void) \ sizeof (AtkObjectFactory), \ (GInstanceInitFunc) NULL, \ (GTypeFlags) 0); \ - g_once_init_leave (&g_define_type_id, type_id); \ + g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \ } \ - return g_define_type_id; \ + return g_define_type_id__volatile; \ } /* Implements a AtkObjectFactory creating accessibles of type