Adapt to gtk api change
This commit is contained in:
parent
d0e9fdccd8
commit
ceee3b9ffb
14
mutter-backdrop.patch
Normal file
14
mutter-backdrop.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up mutter-3.3.3/src/ui/theme.c.backdrop mutter-3.3.3/src/ui/theme.c
|
||||||
|
--- mutter-3.3.3/src/ui/theme.c.backdrop 2012-01-19 19:45:38.383441711 -0500
|
||||||
|
+++ mutter-3.3.3/src/ui/theme.c 2012-01-19 19:46:33.558445340 -0500
|
||||||
|
@@ -6403,8 +6403,8 @@ meta_gtk_state_from_string (const char *
|
||||||
|
return GTK_STATE_FLAG_INCONSISTENT;
|
||||||
|
else if (g_ascii_strcasecmp ("focused", str) == 0)
|
||||||
|
return GTK_STATE_FLAG_FOCUSED;
|
||||||
|
- else if (g_ascii_strcasecmp ("window-unfocused", str) == 0)
|
||||||
|
- return GTK_STATE_FLAG_WINDOW_UNFOCUSED;
|
||||||
|
+ else if (g_ascii_strcasecmp ("backdrop", str) == 0)
|
||||||
|
+ return GTK_STATE_FLAG_BACKDROP;
|
||||||
|
else
|
||||||
|
return -1; /* hack */
|
||||||
|
}
|
@ -8,6 +8,9 @@ License: GPLv2+
|
|||||||
#VCS: git:git://git.gnome.org/mutter
|
#VCS: git:git://git.gnome.org/mutter
|
||||||
Source0: http://download.gnome.org/sources/%{name}/3.3/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/%{name}/3.3/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# upstream fix
|
||||||
|
Patch0: mutter-backdrop.patch
|
||||||
|
|
||||||
BuildRequires: clutter-devel >= 1.7.5
|
BuildRequires: clutter-devel >= 1.7.5
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: startup-notification-devel
|
BuildRequires: startup-notification-devel
|
||||||
@ -59,6 +62,7 @@ utilities for testing Metacity/Mutter themes.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
||||||
|
Loading…
Reference in New Issue
Block a user