[arch-commits] Commit in gtk3/trunk (PKGBUILD git-fixes.patch)
Jan Steffens
heftig at archlinux.org
Sun Oct 26 00:18:57 UTC 2014
Date: Sunday, October 26, 2014 @ 02:18:57
Author: heftig
Revision: 225351
3.14.4
Modified:
gtk3/trunk/PKGBUILD
Deleted:
gtk3/trunk/git-fixes.patch
-----------------+
PKGBUILD | 11 +++-----
git-fixes.patch | 68 ------------------------------------------------------
2 files changed, 4 insertions(+), 75 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-26 00:18:17 UTC (rev 225350)
+++ PKGBUILD 2014-10-26 00:18:57 UTC (rev 225351)
@@ -3,8 +3,8 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=gtk3
-pkgver=3.14.3
-pkgrel=2
+pkgver=3.14.4
+pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v3)"
arch=(i686 x86_64)
url="http://www.gtk.org/"
@@ -13,14 +13,11 @@
libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon adwaita-icon-theme)
makedepends=(gobject-introspection python2)
license=(LGPL)
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
- git-fixes.patch)
-sha256sums=('5e8c62b932f4f0384c3c8cbf251f65978bdecde3211bb16e4c2bde5d8b3af72f'
- '677ae56bd76121c1aa2efc7cc1cb4c5b9049d53d2ef9ddda0568f5e221886032')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz)
+sha256sums=('a006c716d723dab0c623491566e3292af84c87d9198a30199051d23cfc7bef2f')
prepare() {
cd gtk+-$pkgver
- patch -Np1 -i ../git-fixes.patch
}
build() {
Deleted: git-fixes.patch
===================================================================
--- git-fixes.patch 2014-10-26 00:18:17 UTC (rev 225350)
+++ git-fixes.patch 2014-10-26 00:18:57 UTC (rev 225351)
@@ -1,68 +0,0 @@
-diff --git a/gtk/deprecated/gtktrayicon-x11.c b/gtk/deprecated/gtktrayicon-x11.c
-index 503d64b..bfd6b9d 100644
---- a/gtk/deprecated/gtktrayicon-x11.c
-+++ b/gtk/deprecated/gtktrayicon-x11.c
-@@ -355,6 +355,27 @@ gtk_tray_icon_draw (GtkWidget *widget,
- cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
- cairo_paint (cr);
- }
-+ else
-+ {
-+ GdkRectangle clip;
-+
-+ if (gdk_cairo_get_clip_rectangle (cr, &clip))
-+ {
-+ /* Clear to parent-relative pixmap
-+ * We need to use direct X access here because GDK doesn't know about
-+ * the parent realtive pixmap. */
-+ cairo_surface_flush (target);
-+
-+ XClearArea (GDK_WINDOW_XDISPLAY (window),
-+ GDK_WINDOW_XID (window),
-+ clip.x, clip.y,
-+ clip.width, clip.height,
-+ False);
-+ cairo_surface_mark_dirty_rectangle (target,
-+ clip.x, clip.y,
-+ clip.width, clip.height);
-+ }
-+ }
-
- if (GTK_WIDGET_CLASS (gtk_tray_icon_parent_class)->draw)
- retval = GTK_WIDGET_CLASS (gtk_tray_icon_parent_class)->draw (widget, cr);
-@@ -480,6 +501,14 @@ gtk_tray_icon_get_visual_property (GtkTrayIcon *icon)
- icon->priv->manager_visual_rgba = FALSE;
- }
-
-+
-+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-+ /* For the background-relative hack we use when we aren't
-+ * using a real RGBA visual, we can't be double-buffered
-+ */
-+ gtk_widget_set_double_buffered (GTK_WIDGET (icon), icon->priv->manager_visual_rgba);
-+G_GNUC_END_IGNORE_DEPRECATIONS
-+
- if (type != None)
- XFree (prop.prop);
- }
-diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
-index 613b5ae..72f26e9 100644
---- a/gtk/gtkbox.c
-+++ b/gtk/gtkbox.c
-@@ -2619,10 +2619,14 @@ gtk_box_set_center_widget (GtkBox *box,
-
- g_return_if_fail (GTK_IS_BOX (box));
-
-+ if (priv->center)
-+ {
-+ gtk_box_remove (GTK_CONTAINER (box), priv->center->widget);
-+ priv->center = NULL;
-+ }
-+
- if (widget)
- priv->center = gtk_box_pack (box, widget, FALSE, TRUE, 0, GTK_PACK_START);
-- else if (priv->center)
-- gtk_box_remove (GTK_CONTAINER (box), priv->center->widget);
- }
-
- /**
More information about the arch-commits
mailing list