Backport a fix for a crash in terminal_screen_container_style_updated

This commit is contained in:
Kalev Lember 2013-01-25 21:14:40 +01:00
parent 55e8a0103d
commit 99b9f2ba89
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From afbdd5f632db00d9065ea8eeda3c2d3bbc646627 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti <yaneti@declera.com>
Date: Fri, 25 Jan 2013 14:56:45 +0200
Subject: [PATCH] Don't assume enum size
---
src/terminal-screen-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/terminal-screen-container.c b/src/terminal-screen-container.c
index 843f871..c7ec914 100644
--- a/src/terminal-screen-container.c
+++ b/src/terminal-screen-container.c
@@ -73,7 +73,7 @@ terminal_screen_container_style_updated (GtkWidget *widget)
{
TerminalScreenContainer *container = TERMINAL_SCREEN_CONTAINER (widget);
TerminalScreenContainerPrivate *priv = container->priv;
- glong corner;
+ GtkCornerType corner;
gboolean set;
GTK_WIDGET_CLASS (terminal_screen_container_parent_class)->style_updated (widget);
--
1.8.1

View File

@ -8,12 +8,13 @@
Summary: Terminal emulator for GNOME
Name: gnome-terminal
Version: 3.7.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+ and GFDL
Group: User Interface/Desktops
URL: http://www.gnome.org/
#VCS: git:git://git.gnome.org/gnome-terminal
Source0: http://download.gnome.org/sources/gnome-terminal/3.7/gnome-terminal-%{version}.tar.xz
Patch0: 0001-Don-t-assume-enum-size.patch
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: GConf2-devel
@ -39,6 +40,7 @@ clickable URLs.
%prep
%setup -q
%patch0 -p1 -b .enum_size
%build
%configure --with-gtk=3.0
@ -75,6 +77,9 @@ fi
%{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml
%changelog
* Fri Jan 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.2-2
- Backport a fix for a crash in terminal_screen_container_style_updated
* Fri Jan 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.2-1
- Update to 3.7.2