public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Fixed Bug 640038 - unresolved reference to symbol gdk_drawable_get_size
Date: Sun, 31 May 2026 02:04:52 GMT	[thread overview]
Message-ID: <178019309254.1.18337917492877427963.rpms-ibus-20eb2be96816@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-05-31  2:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019309254.1.18337917492877427963.rpms-ibus-20eb2be96816@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox