public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Fixed Bug 640038 - unresolved reference to symbol gdk_drawable_get_size
@ 2026-05-31 2:04 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 20eb2be96816207f98b27d69c79018c344a3355f
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2010-11-02T11:53:37+09:00
Stats : +38/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/20eb2be96816207f98b27d69c79018c344a3355f?branch=autotool
Log:
Fixed Bug 640038 - unresolved reference to symbol gdk_drawable_get_size
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 8b13789..b64021e 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1 +1,32 @@
+From 843c9e13f3363cf7f4ee131b13270e55cb9a2778 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 2 Nov 2010 11:21:24 +0900
+Subject: [PATCH] Replace s/gdk_drawable_get_size/gdk_window_get_height/ for GTK3.
+
+---
+ client/gtk2/ibusimcontext.c | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/client/gtk3/ibusimcontext.c b/client/gtk3/ibusimcontext.c
+index 0bb71b5..c06faaa 100644
+--- a/client/gtk3/ibusimcontext.c
++++ b/client/gtk3/ibusimcontext.c
+@@ -669,10 +669,15 @@ _set_cursor_location_internal (GtkIMContext *context)
+
+ area = ibusimcontext->cursor_area;
+ if (area.x == -1 && area.y == -1 && area.width == 0 && area.height == 0) {
++#if GTK_CHECK_VERSION (2, 91, 0)
++ area.x = 0;
++ area.y += gdk_window_get_height (ibusimcontext->client_window);
++#else
+ gint w, h;
+ gdk_drawable_get_size (ibusimcontext->client_window, &w, &h);
+ area.y += h;
+ area.x = 0;
++#endif
+ }
+
+ gdk_window_get_origin (ibusimcontext->client_window, &x, &y);
+--
+1.7.2.1
diff --git a/ibus.spec b/ibus.spec
index d7b49aa..5e7b30b 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -11,14 +11,14 @@
Name: ibus
Version: 1.3.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
Source1: xinput-ibus
-# Patch0: ibus-HEAD.patch
+Patch0: ibus-HEAD.patch
# Patch1: ibus-xx-va_list.patch
# Patch2: ibus-530711-preload-sys.patch
Patch3: ibus-541492-xkb.patch
@@ -130,7 +130,7 @@ The ibus-devel-docs package contains developer documentation for ibus
%prep
%setup -q
-# %patch0 -p1
+%patch0 -p1
# %patch1 -p1 -b .valist
# %patch2 -p1 -b .preload-sys
%if %have_libxkbfile
@@ -295,6 +295,10 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
+* Tue Nov 02 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.8-2
+- Added ibus-HEAD.patch.
+ Fix Bug 640038 - unresolved reference to symbol gdk_drawable_get_size
+
* Fri Oct 22 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.8-1
- Updated to 1.3.8
- Added ibus-541492-xkb.patch
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 2:04 [rpms/ibus] autotool: Fixed Bug 640038 - unresolved reference to symbol gdk_drawable_get_size Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox