From: Jan D Date: Tue, 26 Oct 2010 06:09:54 +0000 (+0200) Subject: * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~457 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8daaeda6517214d1609e510643e67d77646e0311;p=emacs.git * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278). --- diff --git a/src/ChangeLog b/src/ChangeLog index 529677cb5f4..11cfd232e45 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-10-26 Jan Djärv + + * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278). + 2010-10-25 Glenn Morris * Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc. diff --git a/src/gtkutil.c b/src/gtkutil.c index 3b7e6888753..7103d2b1991 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -589,6 +589,8 @@ qttip_cb (GtkWidget *widget, g_object_ref (G_OBJECT (x->ttip_lbl)); gtk_tooltip_set_custom (tooltip, x->ttip_lbl); x->ttip_window = GTK_WINDOW (gtk_widget_get_toplevel (x->ttip_lbl)); + /* ATK needs an empty title for some reason. */ + gtk_window_set_title (x->ttip_window, ""); /* Realize so we can safely get screen later on. */ gtk_widget_realize (GTK_WIDGET (x->ttip_window)); gtk_widget_realize (x->ttip_lbl);