Hello community, here is the log from the commit of package gnome-desktop for openSUSE:Factory checked in at 2017-03-22 23:13:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-desktop (Old) and /work/SRC/openSUSE:Factory/.gnome-desktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-desktop" Wed Mar 22 23:13:24 2017 rev:135 rq:481736 version:3.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-desktop/gnome-desktop.changes 2016-11-10 13:12:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-desktop.new/gnome-desktop.changes 2017-03-22 23:13:25.729013327 +0100 @@ -1,0 +2,47 @@ +Tue Mar 21 09:15:24 UTC 2017 - zai...@opensuse.org + +- Update to version 3.24.0: + + No changes. + +------------------------------------------------------------------- +Tue Mar 14 18:01:49 UTC 2017 - dims...@opensuse.org + +- Update to version 3.23.92: + + No changes. + +------------------------------------------------------------------- +Mon Feb 27 21:03:14 UTC 2017 - zai...@opensuse.org + +- Update to version 3.23.91: + + No changes. + +------------------------------------------------------------------- +Wed Feb 15 08:17:21 UTC 2017 - dims...@opensuse.org + +- Update to version 3.23.90: + + Always prefer the backend-provided preview in thumbnails + (bgo#738503). + + Use ibus-libzhuyin as default input method for Simplified + Chinese (bgo#772674). + + Deprecated gnome_desktop_thumbnail_scale_down_pixbuf + (bgo#775991). + +------------------------------------------------------------------- +Tue Dec 13 15:21:05 UTC 2016 - dims...@opensuse.org + +- Update to version 3.23.3: + + Always use external gdk-pixbuf thumbnailer (bgo#768064). + +------------------------------------------------------------------- +Tue Nov 22 12:15:05 UTC 2016 - dims...@opensuse.org + +- Update to version 3.23.2: + + No changes. + +------------------------------------------------------------------- +Wed Nov 9 14:06:49 UTC 2016 - dims...@opensuse.org + +- Update to version 3.23.1: + + No changes. + +------------------------------------------------------------------- Old: ---- gnome-desktop-3.22.2.tar.xz New: ---- gnome-desktop-3.24.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-desktop.spec ++++++ --- /var/tmp/diff_new_pack.34U3zl/_old 2017-03-22 23:13:26.684877905 +0100 +++ /var/tmp/diff_new_pack.34U3zl/_new 2017-03-22 23:13:26.688877339 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-desktop # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %define IS_DEFAULT_GNOME_DESKTOP 1 Name: gnome-desktop -Version: 3.22.2 +Version: 3.24.0 Release: 0 Summary: The GNOME Desktop API Library License: LGPL-2.1+ Group: System/GUI/GNOME Url: http://www.gnome.org -Source: http://download.gnome.org/sources/gnome-desktop/3.22/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gnome-desktop/3.24/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: fdupes BuildRequires: gobject-introspection-devel @@ -34,7 +34,7 @@ BuildRequires: translation-update-upstream %endif BuildRequires: yelp-tools -BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.33.0 +BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5 BuildRequires: pkgconfig(glib-2.0) >= 2.38.0 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.5.91 BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6 ++++++ gnome-desktop-3.22.2.tar.xz -> gnome-desktop-3.24.0.tar.xz ++++++ ++++ 2670 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/ChangeLog new/gnome-desktop-3.24.0/ChangeLog --- old/gnome-desktop-3.22.2/ChangeLog 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/ChangeLog 2017-03-21 10:04:53.000000000 +0100 @@ -1,15 +1,138 @@ # Generated by Makefile. Do not edit. -commit b9e03c705253b1a35bd59c7a7f7ffc54d011342f +commit 298263b118966615b8695d339a70969106e7740d Author: Matthias Clasen <mcla...@redhat.com> -Date: Mon Nov 7 11:42:41 2016 -0500 +Date: Tue Mar 21 09:02:03 2017 +0000 - 3.22.2 + 3.24.0 M NEWS M configure.ac -commit b4763b76de5c1ad2aaa22b8f031c7207f7c8450d +commit 5d95e521cd1067a47de09f2091aef964c20767a6 +Author: Matthias Clasen <mcla...@redhat.com> +Date: Tue Mar 14 13:24:58 2017 -0400 + + 3.23.92 + +M NEWS +M configure.ac + +commit fd983721a3547921f07e3bf26dea39c00eee8542 +Author: Matthias Clasen <mcla...@redhat.com> +Date: Mon Feb 27 14:35:07 2017 -0500 + + 3.23.91 + +M NEWS +M configure.ac + +commit 1b37341b4ae2cb89c85e56bacb9e08edac690e9b +Author: Matthias Clasen <mcla...@redhat.com> +Date: Mon Feb 13 17:57:34 2017 -0500 + + 3.23.90 + +M NEWS +M configure.ac + +commit cb64228291842ac73d6bf64d93e35070aab88de1 +Author: Bastien Nocera <had...@hadess.net> +Date: Fri Jan 6 17:36:20 2017 +0100 + + thumbnail: Deprecate gnome_desktop_thumbnail_scale_down_pixbuf() + + As scaling down by huge factors is now fixed in gdk-pixbuf. Require the + newer gdk-pixbuf as well, to avoid running into a pre-fix version. + + https://bugzilla.gnome.org/show_bug.cgi?id=775991 + +M configure.ac +M libgnome-desktop/gnome-desktop-thumbnail.h +M libgnome-desktop/gnome-thumbnail-pixbuf-utils.c + +commit a42a5d0806b8a70112d0daabd26bd20b281eb472 +Author: Peng Wu <alexep...@gmail.com> +Date: Mon Dec 19 17:09:19 2016 +0800 + + default-input-sources: Change default for zh_TW to ibus-libzhuyin + + https://bugzilla.redhat.com/show_bug.cgi?id=1405946 + + https://bugzilla.gnome.org/show_bug.cgi?id=772674 + +M libgnome-desktop/default-input-sources.h + +commit 370b985d23c55f6bfdbe9cffbff7c3b5d86737f9 +Author: Bastien Nocera <had...@hadess.net> +Date: Sun Jun 26 14:13:44 2016 +0200 + + thumbnailer: Always prefer the backend provided preview + + If a preview exists for a particular file, in particular a preview icon + for videos and images on external devices, prefer those to running a + script. + + https://bugzilla.gnome.org/show_bug.cgi?id=738503 + +M libgnome-desktop/gnome-desktop-thumbnail.c + +commit 56a41c15eaa6ce4e92947c8191cdc05a5b9852ee +Author: Michael Catanzaro <mcatanz...@gnome.org> +Date: Mon Dec 12 19:40:15 2016 -0600 + + Prepare 3.23.3 + +M NEWS +M configure.ac + +commit dba6d955e6b60e568a455db8a74f998449a18c18 +Author: Bastien Nocera <had...@hadess.net> +Date: Mon Dec 12 14:29:51 2016 +0100 + + thumbnail: Remove unused constant + + https://bugzilla.gnome.org/show_bug.cgi?id=768064 + +M libgnome-desktop/gnome-thumbnail-pixbuf-utils.c + +commit b69fde6f4a709f8c4fa3087941cee5b4c4169a8d +Author: Bastien Nocera <had...@hadess.net> +Date: Sun Jun 26 12:18:28 2016 +0200 + + thumbnail: Always use external gdk-pixbuf thumbnailer + + Instead of special-casing gdk-pixbuf-supported image formats, use an + external thumbnailer. This will give us the ability to: + - cancel running thumbnail operations + - avoid memory leaks, buffer overflows, double-frees, etc. in the + image loaders having an impact on the application + - limit resource usage when thumbnailing + + https://bugzilla.gnome.org/show_bug.cgi?id=768064 + +M configure.ac +M libgnome-desktop/gnome-desktop-thumbnail.c + +commit 1b96f045e82328d6fd6e0fa4f52165b725fb672d +Author: Michael Catanzaro <mcatanz...@gnome.org> +Date: Mon Nov 21 18:42:02 2016 -0600 + + 3.23.2 + +M NEWS +M configure.ac + +commit fda379781b5cff045908c80031091bfc87ee1166 +Author: Matthias Clasen <mcla...@redhat.com> +Date: Mon Nov 7 11:40:34 2016 -0500 + + 3.23.1 + +M NEWS +M configure.ac + +commit 27219d7af36d7f2b9675e62a2a934d37b9d7f5a0 Author: mosquito <sensor....@gmail.com> Date: Sat Oct 29 02:21:51 2016 +0800 @@ -9259,7 +9382,7 @@ M configure.ac commit c67f7efbec78d93517916137f63fe5f487e1f77b -Merge: ab0ff1d 46d48ab +Merge: ab0ff1df 46d48ab6 Author: Giovanni Campagna <gcampa...@src.gnome.org> Date: Thu Jan 6 20:26:20 2011 +0100 @@ -11118,7 +11241,7 @@ M po/mr.po commit 982ca10ffa343f314726a86b140d132379bad2d8 -Merge: bc9af60 415ff9f +Merge: bc9af601 415ff9f5 Author: Federico Mena Quintero <feder...@novell.com> Date: Fri Apr 9 14:42:06 2010 -0500 @@ -11164,7 +11287,7 @@ M po/th.po commit 77e24b95f7646d7cf02fffcb5c666089e88f58b5 -Merge: da969dc adde41e +Merge: da969dc6 adde41e2 Author: Federico Mena Quintero <feder...@novell.com> Date: Thu Apr 8 14:42:00 2010 -0500 @@ -11771,7 +11894,7 @@ M configure.in commit 60f318f3d5a890c267160562f54a048d862def18 -Merge: 4886011 019e6a7 +Merge: 4886011d 019e6a76 Author: Federico Mena Quintero <feder...@novell.com> Date: Mon Feb 22 18:00:13 2010 -0600 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/NEWS new/gnome-desktop-3.24.0/NEWS --- old/gnome-desktop-3.22.2/NEWS 2016-11-07 17:42:30.000000000 +0100 +++ new/gnome-desktop-3.24.0/NEWS 2017-03-21 10:01:47.000000000 +0100 @@ -1,8 +1,46 @@ +============== +Version 3.24.0 +============== + +- No changes + +=============== +Version 3.23.92 +=============== + +- No changes + +=============== +Version 3.23.91 +=============== + +- No changes + +=============== +Version 3.23.90 +=============== + +- Always prefer the backend-provided preview in thumbnails (#738503) +- Use ibus-libzhuyin as default input method for Simplified Chinese (#772674) +- Deprecated gnome_desktop_thumbnail_scale_down_pixbuf (#775991) + +============== +Version 3.23.3 +============== + +- Always use external gdk-pixbuf thumbnailer (#768064) + +================ +Version 3.23.2 +================ + +- No changes + ================ -Version 3.22.2 +Version 3.23.1 ================ -- Translation updates +- No changes ================ Version 3.22.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/configure.ac new/gnome-desktop-3.24.0/configure.ac --- old/gnome-desktop-3.22.2/configure.ac 2016-11-07 17:42:35.000000000 +0100 +++ new/gnome-desktop-3.24.0/configure.ac 2017-03-21 10:01:28.000000000 +0100 @@ -1,6 +1,6 @@ m4_define(gnome_platform, 3) -m4_define(gnome_minor, 22) -m4_define(gnome_micro, 2) +m4_define(gnome_minor, 24) +m4_define(gnome_micro, 0) dnl gnome_sub is an optional sub-version which will not be advertised to the user dnl It allows to release a 2.30.1.1 which is just a better 2.30.1 dnl Leave empty if not needed @@ -103,7 +103,7 @@ dnl If you add a version number here, you *must* add an AC_SUBST line for dnl it too, or it will never make it into the spec file! -GDK_PIXBUF_REQUIRED=2.33.0 +GDK_PIXBUF_REQUIRED=2.36.5 GTK_REQUIRED=3.3.6 GLIB_REQUIRED=2.44.0 XRANDR_REQUIRED=1.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeDesktopThumbnailFactory.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeDesktopThumbnailFactory.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeDesktopThumbnailFactory.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeDesktopThumbnailFactory.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GnomeDesktopThumbnailFactory: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="thumbnail.html" title="Part IV. Thumbnails"> <link rel="prev" href="thumbnail.html" title="Part IV. Thumbnails"> @@ -92,7 +92,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GdkPixbuf</span> * +<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * </td> <td class="function_name"> <a class="link" href="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-factory-generate-thumbnail" title="gnome_desktop_thumbnail_factory_generate_thumbnail ()">gnome_desktop_thumbnail_factory_generate_thumbnail</a> <span class="c_punctuation">()</span> @@ -148,7 +148,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GdkPixbuf</span> * +<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * </td> <td class="function_name"> <a class="link" href="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-scale-down-pixbuf" title="gnome_desktop_thumbnail_scale_down_pixbuf ()">gnome_desktop_thumbnail_scale_down_pixbuf</a> <span class="c_punctuation">()</span> @@ -278,7 +278,7 @@ <p>The code to examine and call a thumbnailer is contained in <a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a>, which handles looking up the right thumbnailer script, building and executing the command for it, and loading the resulting -thumbnail image into a <span class="type">GdkPixbuf</span>.</p> +thumbnail image into a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>.</p> <p>Thumbnail caching is also supported by <a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a>. When calling a thumbnailer, the path passed for the output image file is in <code class="filename"><code class="envar">$XDG_CACHE_HOME</code>/thumbnails/ @@ -477,7 +477,7 @@ <hr> <div class="refsect2"> <a name="gnome-desktop-thumbnail-factory-generate-thumbnail"></a><h3>gnome_desktop_thumbnail_factory_generate_thumbnail ()</h3> -<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * +<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * gnome_desktop_thumbnail_factory_generate_thumbnail (<em class="parameter"><code><a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a> *factory</code></em>, <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>, @@ -525,7 +525,7 @@ <pre class="programlisting"><span class="returnvalue">void</span> gnome_desktop_thumbnail_factory_save_thumbnail (<em class="parameter"><code><a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a> *factory</code></em>, - <em class="parameter"><code><span class="type">GdkPixbuf</span> *thumbnail</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *thumbnail</code></em>, <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>, <em class="parameter"><code><span class="type">time_t</span> original_mtime</code></em>);</pre> <p>Saves <em class="parameter"><code>thumbnail</code></em> @@ -610,7 +610,7 @@ <div class="refsect2"> <a name="gnome-desktop-thumbnail-has-uri"></a><h3>gnome_desktop_thumbnail_has_uri ()</h3> <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -gnome_desktop_thumbnail_has_uri (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>, +gnome_desktop_thumbnail_has_uri (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>, <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre> <p>Returns whether the thumbnail has the correct uri embedded in the Thumb::URI option in the png.</p> @@ -647,7 +647,7 @@ <div class="refsect2"> <a name="gnome-desktop-thumbnail-is-valid"></a><h3>gnome_desktop_thumbnail_is_valid ()</h3> <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -gnome_desktop_thumbnail_is_valid (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>, +gnome_desktop_thumbnail_is_valid (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>, <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>, <em class="parameter"><code><span class="type">time_t</span> mtime</code></em>);</pre> <p>Returns whether the thumbnail has the correct uri and mtime embedded in the @@ -663,7 +663,7 @@ <tbody> <tr> <td class="parameter_name"><p>pixbuf</p></td> -<td class="parameter_description"><p>an loaded thumbnail <span class="type">GdkPixbuf</span></p></td> +<td class="parameter_description"><p>an loaded thumbnail <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -759,14 +759,18 @@ <hr> <div class="refsect2"> <a name="gnome-desktop-thumbnail-scale-down-pixbuf"></a><h3>gnome_desktop_thumbnail_scale_down_pixbuf ()</h3> -<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * +<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * gnome_desktop_thumbnail_scale_down_pixbuf - (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>, + (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>, <em class="parameter"><code><span class="type">int</span> dest_width</code></em>, <em class="parameter"><code><span class="type">int</span> dest_height</code></em>);</pre> +<div class="warning"><p><code class="literal">gnome_desktop_thumbnail_scale_down_pixbuf</code> is deprecated and should not be used in newly-written code.</p></div> <p>Scales the pixbuf to the desired size. This function -is a lot faster than gdk-pixbuf when scaling down by -large amounts.</p> +used to be a lot faster than gdk-pixbuf when scaling +down by large amounts. This is not true anymore since +gdk-pixbuf UNRELEASED. You should use +<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Scaling.html#gdk-pixbuf-scale-simple"><code class="function">gdk_pixbuf_scale_simple()</code></a> instead, which this function +now does internally.</p> <div class="refsect3"> <a name="gnome-desktop-thumbnail-scale-down-pixbuf.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -778,7 +782,7 @@ <tbody> <tr> <td class="parameter_name"><p>pixbuf</p></td> -<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td> +<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeIdleMonitor.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeIdleMonitor.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeIdleMonitor.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeIdleMonitor.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GnomeIdleMonitor: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="idle-monitor.html" title="Part V. Idle Monitor"> <link rel="prev" href="idle-monitor.html" title="Part V. Idle Monitor"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeWallClock.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeWallClock.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeWallClock.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeWallClock.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GnomeWallClock: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="wall-clock.html" title="Part VI. Wall Clock"> <link rel="prev" href="wall-clock.html" title="Part VI. Wall Clock"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeXkbInfo.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeXkbInfo.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/GnomeXkbInfo.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/GnomeXkbInfo.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GnomeXkbInfo: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="xkb-info.html" title="Part VII. X Keyboard Information"> <link rel="prev" href="xkb-info.html" title="Part VII. X Keyboard Information"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/annotation-glossary.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/annotation-glossary.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/annotation-glossary.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/annotation-glossary.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Annotation Glossary: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="gnome-desktop3-Language-Utilities.html" title="Language Utilities"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/background.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/background.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/background.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/background.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part II. Desktop Background: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="intro.html" title="Part I. GNOME Desktop Library Overview"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-Language-Utilities.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-Language-Utilities.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-Language-Utilities.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-Language-Utilities.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Language Utilities: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="languages.html" title="Part VIII. Language Utilities"> <link rel="prev" href="languages.html" title="Part VIII. Language Utilities"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-bg.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-bg.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-bg.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-bg.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>gnome-bg: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="background.html" title="Part II. Desktop Background"> <link rel="prev" href="background.html" title="Part II. Desktop Background"> @@ -138,7 +138,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GdkPixbuf</span> * +<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * </td> <td class="function_name"> <a class="link" href="gnome-desktop3-gnome-bg.html#gnome-bg-create-thumbnail" title="gnome_bg_create_thumbnail ()">gnome_bg_create_thumbnail</a> <span class="c_punctuation">()</span> @@ -170,7 +170,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GdkPixbuf</span> * +<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * </td> <td class="function_name"> <a class="link" href="gnome-desktop3-gnome-bg.html#gnome-bg-create-frame-thumbnail" title="gnome_bg_create_frame_thumbnail ()">gnome_bg_create_frame_thumbnail</a> <span class="c_punctuation">()</span> @@ -323,7 +323,7 @@ <a name="gnome-bg-draw"></a><h3>gnome_bg_draw ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> gnome_bg_draw (<em class="parameter"><code><a class="link" href="gnome-desktop3-gnome-bg.html#GnomeBG"><span class="type">GnomeBG</span></a> *bg</code></em>, - <em class="parameter"><code><span class="type">GdkPixbuf</span> *dest</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *dest</code></em>, <em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>, <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_root</code></em>);</pre> </div> @@ -376,7 +376,7 @@ <hr> <div class="refsect2"> <a name="gnome-bg-create-thumbnail"></a><h3>gnome_bg_create_thumbnail ()</h3> -<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * +<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * gnome_bg_create_thumbnail (<em class="parameter"><code><a class="link" href="gnome-desktop3-gnome-bg.html#GnomeBG"><span class="type">GnomeBG</span></a> *bg</code></em>, <em class="parameter"><code><a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a> *factory</code></em>, <em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>, @@ -384,7 +384,7 @@ <em class="parameter"><code><span class="type">int</span> dest_height</code></em>);</pre> <div class="refsect3"> <a name="gnome-bg-create-thumbnail.returns"></a><h4>Returns</h4> -<p> a <span class="type">GdkPixbuf</span> showing the background as a thumbnail. </p> +<p> a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> showing the background as a thumbnail. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> @@ -411,7 +411,7 @@ <hr> <div class="refsect2"> <a name="gnome-bg-create-frame-thumbnail"></a><h3>gnome_bg_create_frame_thumbnail ()</h3> -<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * +<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> * gnome_bg_create_frame_thumbnail (<em class="parameter"><code><a class="link" href="gnome-desktop3-gnome-bg.html#GnomeBG"><span class="type">GnomeBG</span></a> *bg</code></em>, <em class="parameter"><code><a class="link" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"><span class="type">GnomeDesktopThumbnailFactory</span></a> *factory</code></em>, <em class="parameter"><code><a href="http://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-pnp-ids.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-pnp-ids.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-pnp-ids.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-pnp-ids.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>gnome-pnp-ids: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="randr.html" title="Part III. Monitor Configuration"> <link rel="prev" href="gnome-desktop3-gnome-rr-config.html" title="gnome-rr-config"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr-config.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr-config.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr-config.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr-config.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>gnome-rr-config: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="randr.html" title="Part III. Monitor Configuration"> <link rel="prev" href="gnome-desktop3-gnome-rr.html" title="gnome-rr"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3-gnome-rr.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>gnome-rr: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="randr.html" title="Part III. Monitor Configuration"> <link rel="prev" href="randr.html" title="Part III. Monitor Configuration"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3.devhelp2 new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3.devhelp2 --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/gnome-desktop3.devhelp2 2016-11-07 17:44:08.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/gnome-desktop3.devhelp2 2017-03-21 10:04:52.000000000 +0100 @@ -167,7 +167,7 @@ <keyword type="function" name="gnome_desktop_thumbnail_is_valid ()" link="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-is-valid" since="2.2"/> <keyword type="function" name="gnome_desktop_thumbnail_md5 ()" link="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-md5" deprecated="2.22: Use #GChecksum instead" since="2.2"/> <keyword type="function" name="gnome_desktop_thumbnail_path_for_uri ()" link="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-path-for-uri" since="2.2"/> - <keyword type="function" name="gnome_desktop_thumbnail_scale_down_pixbuf ()" link="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-scale-down-pixbuf" since="2.2"/> + <keyword type="function" name="gnome_desktop_thumbnail_scale_down_pixbuf ()" link="GnomeDesktopThumbnailFactory.html#gnome-desktop-thumbnail-scale-down-pixbuf" deprecated="" since="2.2"/> <keyword type="enum" name="enum GnomeDesktopThumbnailSize" link="GnomeDesktopThumbnailFactory.html#GnomeDesktopThumbnailSize"/> <keyword type="struct" name="struct GnomeDesktopThumbnailFactory" link="GnomeDesktopThumbnailFactory.html#GnomeDesktopThumbnailFactory-struct"/> <keyword type="struct" name="struct GnomeDesktopThumbnailFactoryClass" link="GnomeDesktopThumbnailFactory.html#GnomeDesktopThumbnailFactoryClass"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/idle-monitor.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/idle-monitor.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/idle-monitor.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/idle-monitor.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part V. Idle Monitor: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="GnomeDesktopThumbnailFactory.html" title="GnomeDesktopThumbnailFactory"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/index.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/index.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/index.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/index.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GNOME Desktop Library Reference Manual: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="next" href="intro.html" title="Part I. GNOME Desktop Library Overview"> <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/intro.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/intro.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/intro.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/intro.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part I. GNOME Desktop Library Overview: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="index.html" title="GNOME Desktop Library Reference Manual"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/languages.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/languages.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/languages.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/languages.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part VIII. Language Utilities: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="GnomeXkbInfo.html" title="GnomeXkbInfo"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/randr.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/randr.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/randr.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/randr.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part III. Monitor Configuration: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="gnome-desktop3-gnome-bg.html" title="gnome-bg"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/thumbnail.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/thumbnail.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/thumbnail.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/thumbnail.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part IV. Thumbnails: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="gnome-desktop3-gnome-pnp-ids.html" title="gnome-pnp-ids"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/wall-clock.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/wall-clock.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/wall-clock.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/wall-clock.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part VI. Wall Clock: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="GnomeIdleMonitor.html" title="GnomeIdleMonitor"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/xkb-info.html new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/xkb-info.html --- old/gnome-desktop-3.22.2/docs/reference/gnome-desktop3/html/xkb-info.html 2016-11-07 17:44:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/docs/reference/gnome-desktop3/html/xkb-info.html 2017-03-21 10:04:52.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Part VII. X Keyboard Information: GNOME Desktop Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="up" href="index.html" title="GNOME Desktop Library Reference Manual"> <link rel="prev" href="GnomeWallClock.html" title="GnomeWallClock"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/gtk-doc.make new/gnome-desktop-3.24.0/gtk-doc.make --- old/gnome-desktop-3.22.2/gtk-doc.make 2016-11-07 17:42:53.000000000 +0100 +++ new/gnome-desktop-3.24.0/gtk-doc.make 2017-03-21 10:02:19.000000000 +0100 @@ -87,19 +87,18 @@ setup-build.stamp: -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ - files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ - if test "x$$files" != "x" ; then \ - for file in $$files ; do \ - destdir=`dirname $(abs_builddir)/$$file`; \ - test -d "$$destdir" || mkdir -p "$$destdir"; \ - test -f $(abs_srcdir)/$$file && \ - cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ - done; \ - fi; \ + files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ + if test "x$$files" != "x" ; then \ + for file in $$files ; do \ + destdir=`dirname $(abs_builddir)/$$file`; \ + test -d "$$destdir" || mkdir -p "$$destdir"; \ + test -f $(abs_srcdir)/$$file && \ + cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ + done; \ + fi; \ fi $(AM_V_at)touch setup-build.stamp - #### scan #### GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_$(V)) @@ -113,23 +112,23 @@ scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(GTK_DOC_V_SCAN)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ - scanobj_options=""; \ - gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - scanobj_options="--verbose"; \ - fi; \ + scanobj_options=""; \ + gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$$?" = "0"; then \ + if test "x$(V)" = "x1"; then \ + scanobj_options="--verbose"; \ fi; \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ - gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ + fi; \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ + gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ else \ - for i in $(SCANOBJ_FILES) ; do \ - test -f $$i || touch $$i ; \ - done \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ fi $(AM_V_at)touch scan-build.stamp @@ -145,7 +144,7 @@ sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent $(GTK_DOC_V_XML)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) $(AM_V_at)touch sgml-build.stamp @@ -190,12 +189,8 @@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) -@test "x$(HTML_IMAGES)" = "x" || \ for file in $(HTML_IMAGES) ; do \ - if test -f $(abs_srcdir)/$$file ; then \ - cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ - fi; \ - if test -f $(abs_builddir)/$$file ; then \ - cp $(abs_builddir)/$$file $(abs_builddir)/html; \ - fi; \ + test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ + test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ done; $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) $(AM_V_at)touch html-build.stamp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/default-input-sources.h new/gnome-desktop-3.24.0/libgnome-desktop/default-input-sources.h --- old/gnome-desktop-3.22.2/libgnome-desktop/default-input-sources.h 2016-10-22 06:40:37.000000000 +0200 +++ new/gnome-desktop-3.24.0/libgnome-desktop/default-input-sources.h 2017-02-13 23:54:01.000000000 +0100 @@ -53,6 +53,6 @@ { "ur_IN", "ibus", "m17n:ur:phonetic" }, { "zh_CN", "ibus", "libpinyin" }, { "zh_HK", "ibus", "cangjie" }, - { "zh_TW", "ibus", "chewing" }, + { "zh_TW", "ibus", "libzhuyin" }, { NULL, NULL, NULL } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/gnome-desktop-thumbnail.c new/gnome-desktop-3.24.0/libgnome-desktop/gnome-desktop-thumbnail.c --- old/gnome-desktop-3.22.2/libgnome-desktop/gnome-desktop-thumbnail.c 2016-10-22 06:40:39.000000000 +0200 +++ new/gnome-desktop-3.24.0/libgnome-desktop/gnome-desktop-thumbnail.c 2017-02-13 23:54:01.000000000 +0100 @@ -180,16 +180,6 @@ #define GNOME_DESKTOP_THUMBNAIL_FACTORY_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), GNOME_DESKTOP_TYPE_THUMBNAIL_FACTORY, GnomeDesktopThumbnailFactoryPrivate)) -typedef struct { - gint width; - gint height; - gint input_width; - gint input_height; - gboolean preserve_aspect_ratio; -} SizePrepareContext; - -#define LOAD_BUFFER_SIZE 4096 - #define THUMBNAILER_ENTRY_GROUP "Thumbnailer Entry" #define THUMBNAILER_EXTENSION ".thumbnailer" @@ -358,229 +348,6 @@ return g_once (&once_init, init_thumbnailers_dirs, NULL); } -static void -size_prepared_cb (GdkPixbufLoader *loader, - int width, - int height, - gpointer data) -{ - SizePrepareContext *info = data; - - g_return_if_fail (width > 0 && height > 0); - - info->input_width = width; - info->input_height = height; - - if (width < info->width && height < info->height) return; - - if (info->preserve_aspect_ratio && - (info->width > 0 || info->height > 0)) { - if (info->width < 0) - { - width = width * (double)info->height/(double)height; - height = info->height; - } - else if (info->height < 0) - { - height = height * (double)info->width/(double)width; - width = info->width; - } - else if ((double)height * (double)info->width > - (double)width * (double)info->height) { - width = 0.5 + (double)width * (double)info->height / (double)height; - height = info->height; - } else { - height = 0.5 + (double)height * (double)info->width / (double)width; - width = info->width; - } - } else { - if (info->width > 0) - width = info->width; - if (info->height > 0) - height = info->height; - } - - gdk_pixbuf_loader_set_size (loader, width, height); -} - -static GdkPixbufLoader * -create_loader (GFile *file, - const guchar *data, - gsize size) -{ - GdkPixbufLoader *loader; - GError *error = NULL; - char *mime_type; - char *filename; - - loader = NULL; - - /* need to specify the type here because the gdk_pixbuf_loader_write - doesn't have access to the filename in order to correct detect - the image type. */ - filename = g_file_get_basename (file); - mime_type = g_content_type_guess (filename, data, size, NULL); - g_free (filename); - - if (mime_type != NULL) { - loader = gdk_pixbuf_loader_new_with_mime_type (mime_type, &error); - } - - if (loader == NULL) { - g_debug ("Unable to create loader for mime type %s: %s", mime_type, error->message); - g_clear_error (&error); - loader = gdk_pixbuf_loader_new (); - } - g_free (mime_type); - - return loader; -} - -static GdkPixbuf * -_gdk_pixbuf_new_from_uri_at_scale (const char *uri, - gint width, - gint height, - gboolean preserve_aspect_ratio) -{ - gboolean result; - guchar buffer[LOAD_BUFFER_SIZE]; - gssize bytes_read; - GdkPixbufLoader *loader = NULL; - GdkPixbuf *pixbuf; - GdkPixbufAnimation *animation; - GdkPixbufAnimationIter *iter; - gboolean has_frame; - SizePrepareContext info; - GFile *file; - GFileInfo *file_info; - GInputStream *input_stream; - GError *error = NULL; - - g_return_val_if_fail (uri != NULL, NULL); - - input_stream = NULL; - - file = g_file_new_for_uri (uri); - - /* First see if we can get an input stream via preview::icon */ - file_info = g_file_query_info (file, - G_FILE_ATTRIBUTE_PREVIEW_ICON, - G_FILE_QUERY_INFO_NONE, - NULL, /* GCancellable */ - NULL); /* return location for GError */ - if (file_info != NULL) { - GObject *object; - - object = g_file_info_get_attribute_object (file_info, - G_FILE_ATTRIBUTE_PREVIEW_ICON); - if (object != NULL && G_IS_LOADABLE_ICON (object)) { - input_stream = g_loadable_icon_load (G_LOADABLE_ICON (object), - 0, /* size */ - NULL, /* return location for type */ - NULL, /* GCancellable */ - NULL); /* return location for GError */ - } - g_object_unref (file_info); - } - - if (input_stream == NULL) { - input_stream = G_INPUT_STREAM (g_file_read (file, NULL, &error)); - if (input_stream == NULL) { - g_warning ("Unable to create an input stream for %s: %s", uri, error->message); - g_clear_error (&error); - g_object_unref (file); - return NULL; - } - } - - has_frame = FALSE; - - result = FALSE; - while (!has_frame) { - - bytes_read = g_input_stream_read (input_stream, - buffer, - sizeof (buffer), - NULL, - &error); - if (bytes_read == -1) { - g_warning ("Error reading from %s: %s", uri, error->message); - g_clear_error (&error); - break; - } - result = TRUE; - if (bytes_read == 0) { - break; - } - - if (loader == NULL) { - loader = create_loader (file, buffer, bytes_read); - if (1 <= width || 1 <= height) { - info.width = width; - info.height = height; - info.input_width = info.input_height = 0; - info.preserve_aspect_ratio = preserve_aspect_ratio; - g_signal_connect (loader, "size-prepared", G_CALLBACK (size_prepared_cb), &info); - } - g_assert (loader != NULL); - } - - if (!gdk_pixbuf_loader_write (loader, - (unsigned char *)buffer, - bytes_read, - &error)) { - g_warning ("Error creating thumbnail for %s: %s", uri, error->message); - g_clear_error (&error); - result = FALSE; - break; - } - - animation = gdk_pixbuf_loader_get_animation (loader); - if (animation) { - iter = gdk_pixbuf_animation_get_iter (animation, NULL); - if (!gdk_pixbuf_animation_iter_on_currently_loading_frame (iter)) { - has_frame = TRUE; - } - g_object_unref (iter); - } - } - - if (loader == NULL) { - /* This can happen if the above loop was exited due to the - * g_input_stream_read() call failing. */ - result = FALSE; - } else if (gdk_pixbuf_loader_close (loader, &error) == FALSE && - !g_error_matches (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION)) { - g_warning ("Error creating thumbnail for %s: %s", uri, error->message); - result = FALSE; - } - g_clear_error (&error); - - if (!result) { - g_clear_object (&loader); - g_input_stream_close (input_stream, NULL, NULL); - g_object_unref (input_stream); - g_object_unref (file); - return NULL; - } - - g_input_stream_close (input_stream, NULL, NULL); - g_object_unref (input_stream); - g_object_unref (file); - - pixbuf = gdk_pixbuf_loader_get_pixbuf (loader); - if (pixbuf != NULL) { - g_object_ref (G_OBJECT (pixbuf)); - g_object_set_data (G_OBJECT (pixbuf), "gnome-original-width", - GINT_TO_POINTER (info.input_width)); - g_object_set_data (G_OBJECT (pixbuf), "gnome-original-height", - GINT_TO_POINTER (info.input_height)); - } - g_object_unref (G_OBJECT (loader)); - - return pixbuf; -} - /* These should be called with the lock held */ static void gnome_desktop_thumbnail_factory_register_mime_types (GnomeDesktopThumbnailFactory *factory, @@ -638,7 +405,6 @@ return (strcmp (value->path, path) == 0); } - static void update_or_create_thumbnailer (GnomeDesktopThumbnailFactory *factory, const gchar *path) @@ -1161,54 +927,6 @@ return TRUE; } -static gboolean -mimetype_supported_by_gdk_pixbuf (const char *mime_type) -{ - guint i; - static gsize formats_hash = 0; - gchar *key; - gboolean result; - - if (g_once_init_enter (&formats_hash)) { - GSList *formats, *list; - GHashTable *hash; - - hash = g_hash_table_new_full (g_str_hash, - (GEqualFunc) g_content_type_equals, - g_free, NULL); - - formats = gdk_pixbuf_get_formats (); - list = formats; - - while (list) { - GdkPixbufFormat *format = list->data; - gchar **mime_types; - - mime_types = gdk_pixbuf_format_get_mime_types (format); - - for (i = 0; mime_types[i] != NULL; i++) - g_hash_table_insert (hash, - (gpointer) g_content_type_from_mime_type (mime_types[i]), - GUINT_TO_POINTER (1)); - - g_strfreev (mime_types); - list = list->next; - } - g_slist_free (formats); - - g_once_init_leave (&formats_hash, (gsize) hash); - } - - key = g_content_type_from_mime_type (mime_type); - if (g_hash_table_lookup ((void*)formats_hash, key)) - result = TRUE; - else - result = FALSE; - g_free (key); - - return result; -} - /** * gnome_desktop_thumbnail_factory_can_thumbnail: * @factory: a #GnomeDesktopThumbnailFactory @@ -1252,7 +970,7 @@ } g_mutex_unlock (&factory->priv->lock); - if (have_script || mimetype_supported_by_gdk_pixbuf (mime_type)) + if (have_script) { return !gnome_desktop_thumbnail_factory_has_valid_failed_thumbnail (factory, uri, @@ -1331,6 +1049,62 @@ return NULL; } +static GdkPixbuf * +get_preview_thumbnail (const char *uri, + int size) +{ + GdkPixbuf *pixbuf; + GFile *file; + GFileInfo *file_info; + GInputStream *input_stream; + GObject *object; + + g_return_val_if_fail (uri != NULL, NULL); + + input_stream = NULL; + + file = g_file_new_for_uri (uri); + + /* First see if we can get an input stream via preview::icon */ + file_info = g_file_query_info (file, + G_FILE_ATTRIBUTE_PREVIEW_ICON, + G_FILE_QUERY_INFO_NONE, + NULL, /* GCancellable */ + NULL); /* return location for GError */ + g_object_unref (file); + + if (file_info == NULL) + return NULL; + + object = g_file_info_get_attribute_object (file_info, + G_FILE_ATTRIBUTE_PREVIEW_ICON); + g_object_unref (file_info); + + if (!object) + return NULL; + if (!G_IS_LOADABLE_ICON (object)) { + g_object_unref (object); + return NULL; + } + + input_stream = g_loadable_icon_load (G_LOADABLE_ICON (object), + 0, /* size */ + NULL, /* return location for type */ + NULL, /* GCancellable */ + NULL); /* return location for GError */ + g_object_unref (object); + + if (!input_stream) + return NULL; + + pixbuf = gdk_pixbuf_new_from_stream_at_scale (input_stream, + size, size, + TRUE, NULL, NULL); + g_object_unref (input_stream); + + return pixbuf; +} + /** * gnome_desktop_thumbnail_factory_generate_thumbnail: * @factory: a #GnomeDesktopThumbnailFactory @@ -1351,13 +1125,9 @@ const char *uri, const char *mime_type) { - GdkPixbuf *pixbuf, *scaled, *tmp_pixbuf; + GdkPixbuf *pixbuf; char *script, *expanded_script; - int width, height, size; - int original_width = 0; - int original_height = 0; - char dimension[12]; - double scale; + int size; int exit_status; char *tmpname; @@ -1372,6 +1142,10 @@ pixbuf = NULL; + pixbuf = get_preview_thumbnail (uri, size); + if (pixbuf != NULL) + return pixbuf; + script = NULL; g_mutex_lock (&factory->priv->lock); if (!gnome_desktop_thumbnail_factory_is_disabled (factory, mime_type)) @@ -1411,65 +1185,6 @@ g_free (script); } - /* Fall back to gdk-pixbuf */ - if (pixbuf == NULL) - { - pixbuf = _gdk_pixbuf_new_from_uri_at_scale (uri, size, size, TRUE); - - if (pixbuf != NULL) - { - original_width = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (pixbuf), - "gnome-original-width")); - original_height = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (pixbuf), - "gnome-original-height")); - } - } - - if (pixbuf == NULL) - return NULL; - - /* The pixbuf loader may attach an "orientation" option to the pixbuf, - if the tiff or exif jpeg file had an orientation tag. Rotate/flip - the pixbuf as specified by this tag, if present. */ - tmp_pixbuf = gdk_pixbuf_apply_embedded_orientation (pixbuf); - g_object_unref (pixbuf); - pixbuf = tmp_pixbuf; - - width = gdk_pixbuf_get_width (pixbuf); - height = gdk_pixbuf_get_height (pixbuf); - - if (width > size || height > size) - { - const gchar *orig_width, *orig_height; - scale = (double)size / MAX (width, height); - - scaled = gnome_desktop_thumbnail_scale_down_pixbuf (pixbuf, - floor (width * scale + 0.5), - floor (height * scale + 0.5)); - - orig_width = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::Image::Width"); - orig_height = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::Image::Height"); - - if (orig_width != NULL) { - gdk_pixbuf_set_option (scaled, "tEXt::Thumb::Image::Width", orig_width); - } - if (orig_height != NULL) { - gdk_pixbuf_set_option (scaled, "tEXt::Thumb::Image::Height", orig_height); - } - - g_object_unref (pixbuf); - pixbuf = scaled; - } - - if (original_width > 0) { - g_snprintf (dimension, sizeof (dimension), "%i", original_width); - gdk_pixbuf_set_option (pixbuf, "tEXt::Thumb::Image::Width", dimension); - } - if (original_height > 0) { - g_snprintf (dimension, sizeof (dimension), "%i", original_height); - gdk_pixbuf_set_option (pixbuf, "tEXt::Thumb::Image::Height", dimension); - } - return pixbuf; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/gnome-desktop-thumbnail.h new/gnome-desktop-3.24.0/libgnome-desktop/gnome-desktop-thumbnail.h --- old/gnome-desktop-3.22.2/libgnome-desktop/gnome-desktop-thumbnail.h 2016-10-22 06:40:40.000000000 +0200 +++ new/gnome-desktop-3.24.0/libgnome-desktop/gnome-desktop-thumbnail.h 2017-02-13 23:54:01.000000000 +0100 @@ -103,6 +103,13 @@ /* Pixbuf utils */ +#ifndef __GTK_DOC_IGNORE__ +#define GNOME_DESKTOP_DEPRECATED_IN_3_24_FOR(f) G_DEPRECATED_FOR(f) extern +#else +#define GNOME_DESKTOP_DEPRECATED_IN_3_24_FOR(f) extern +#endif + +GNOME_DESKTOP_DEPRECATED_IN_3_24_FOR(gdk_pixbuf_scale_simple) GdkPixbuf *gnome_desktop_thumbnail_scale_down_pixbuf (GdkPixbuf *pixbuf, int dest_width, int dest_height); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/gnome-thumbnail-pixbuf-utils.c new/gnome-desktop-3.24.0/libgnome-desktop/gnome-thumbnail-pixbuf-utils.c --- old/gnome-desktop-3.22.2/libgnome-desktop/gnome-thumbnail-pixbuf-utils.c 2016-10-22 06:40:39.000000000 +0200 +++ new/gnome-desktop-3.24.0/libgnome-desktop/gnome-thumbnail-pixbuf-utils.c 2017-02-13 23:54:01.000000000 +0100 @@ -32,8 +32,6 @@ #define GNOME_DESKTOP_USE_UNSTABLE_API #include "gnome-desktop-thumbnail.h" -#define LOAD_BUFFER_SIZE 65536 - /** * gnome_desktop_thumbnail_scale_down_pixbuf: * @pixbuf: a #GdkPixbuf @@ -41,8 +39,11 @@ * @dest_height: the desired new height * * Scales the pixbuf to the desired size. This function - * is a lot faster than gdk-pixbuf when scaling down by - * large amounts. + * used to be a lot faster than gdk-pixbuf when scaling + * down by large amounts. This is not true anymore since + * gdk-pixbuf UNRELEASED. You should use + * gdk_pixbuf_scale_simple() instead, which this function + * now does internally. * * Return value: (transfer full): a scaled pixbuf * @@ -50,123 +51,15 @@ **/ GdkPixbuf * gnome_desktop_thumbnail_scale_down_pixbuf (GdkPixbuf *pixbuf, - int dest_width, - int dest_height) + int dest_width, + int dest_height) { - int source_width, source_height; - int s_x1, s_y1, s_x2, s_y2; - int s_xfrac, s_yfrac; - int dx, dx_frac, dy, dy_frac; - div_t ddx, ddy; - int x, y; - int r, g, b, a; - int n_pixels; - gboolean has_alpha; - guchar *dest, *src, *xsrc, *src_pixels; - GdkPixbuf *dest_pixbuf; - int pixel_stride; - int source_rowstride, dest_rowstride; + g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL); + g_return_val_if_fail (gdk_pixbuf_get_width (pixbuf) >= dest_width, NULL); + g_return_val_if_fail (gdk_pixbuf_get_height (pixbuf) >= dest_height, NULL); - if (dest_width == 0 || dest_height == 0) { + if (dest_width == 0 || dest_height == 0) return NULL; - } - - source_width = gdk_pixbuf_get_width (pixbuf); - source_height = gdk_pixbuf_get_height (pixbuf); - - g_assert (source_width >= dest_width); - g_assert (source_height >= dest_height); - - ddx = div (source_width, dest_width); - dx = ddx.quot; - dx_frac = ddx.rem; - - ddy = div (source_height, dest_height); - dy = ddy.quot; - dy_frac = ddy.rem; - - has_alpha = gdk_pixbuf_get_has_alpha (pixbuf); - source_rowstride = gdk_pixbuf_get_rowstride (pixbuf); - src_pixels = gdk_pixbuf_get_pixels (pixbuf); - - dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, has_alpha, 8, - dest_width, dest_height); - dest = gdk_pixbuf_get_pixels (dest_pixbuf); - dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf); - - pixel_stride = (has_alpha)?4:3; - - s_y1 = 0; - s_yfrac = -dest_height/2; - while (s_y1 < source_height) { - s_y2 = s_y1 + dy; - s_yfrac += dy_frac; - if (s_yfrac > 0) { - s_y2++; - s_yfrac -= dest_height; - } - - s_x1 = 0; - s_xfrac = -dest_width/2; - while (s_x1 < source_width) { - s_x2 = s_x1 + dx; - s_xfrac += dx_frac; - if (s_xfrac > 0) { - s_x2++; - s_xfrac -= dest_width; - } - - /* Average block of [x1,x2[ x [y1,y2[ and store in dest */ - r = g = b = a = 0; - n_pixels = 0; - src = src_pixels + s_y1 * source_rowstride + s_x1 * pixel_stride; - for (y = s_y1; y < s_y2; y++) { - xsrc = src; - if (has_alpha) { - for (x = 0; x < s_x2-s_x1; x++) { - n_pixels++; - - r += xsrc[3] * xsrc[0]; - g += xsrc[3] * xsrc[1]; - b += xsrc[3] * xsrc[2]; - a += xsrc[3]; - xsrc += 4; - } - } else { - for (x = 0; x < s_x2-s_x1; x++) { - n_pixels++; - r += *xsrc++; - g += *xsrc++; - b += *xsrc++; - } - } - src += source_rowstride; - } - - if (has_alpha) { - if (a != 0) { - *dest++ = r / a; - *dest++ = g / a; - *dest++ = b / a; - *dest++ = a / n_pixels; - } else { - *dest++ = 0; - *dest++ = 0; - *dest++ = 0; - *dest++ = 0; - } - } else { - *dest++ = r / n_pixels; - *dest++ = g / n_pixels; - *dest++ = b / n_pixels; - } - - s_x1 = s_x2; - } - s_y1 = s_y2; - dest += dest_rowstride - dest_width * pixel_stride; - } - - return dest_pixbuf; + return gdk_pixbuf_scale_simple (pixbuf, dest_width, dest_height, GDK_INTERP_HYPER); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-idle-monitor.c new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-idle-monitor.c --- old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-idle-monitor.c 2016-11-07 17:43:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-idle-monitor.c 2017-03-21 10:03:52.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.51.0. DO NOT EDIT. + * Generated by gdbus-codegen 2.51.4. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ @@ -1085,8 +1085,8 @@ GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_meta_dbus_idle_monitor_interface_info.parent_struct, signal_name); if (info == NULL) @@ -1402,9 +1402,9 @@ GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-idle-monitor.h new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-idle-monitor.h --- old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-idle-monitor.h 2016-11-07 17:43:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-idle-monitor.h 2017-03-21 10:03:52.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.51.0. DO NOT EDIT. + * Generated by gdbus-codegen 2.51.4. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-xrandr.c new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-xrandr.c --- old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-xrandr.c 2016-11-07 17:43:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-xrandr.c 2017-03-21 10:03:52.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.51.0. DO NOT EDIT. + * Generated by gdbus-codegen 2.51.4. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ @@ -1710,8 +1710,8 @@ GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_meta_dbus_display_config_interface_info.parent_struct, signal_name); if (info == NULL) @@ -2045,9 +2045,9 @@ GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-xrandr.h new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-xrandr.h --- old/gnome-desktop-3.22.2/libgnome-desktop/meta-dbus-xrandr.h 2016-11-07 17:43:09.000000000 +0100 +++ new/gnome-desktop-3.24.0/libgnome-desktop/meta-dbus-xrandr.h 2017-03-21 10:03:52.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.51.0. DO NOT EDIT. + * Generated by gdbus-codegen 2.51.4. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */