From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
=C2=A0> I've attached a patch that fixes all deprecati= on warnings. It's not
=C2=A0> intended to be installed as-is, more as a baseline for discussio= n. Some of
=C2=A0> the functions have straightforward replacements, others are hard= er to
=C2=A0> replace, yet others have vanished altogether.
I think you should install most of it right now so we have enough time
to test it before a release.=C2=A0 There are people who build with GTK 3.22=
and could tell us whether it breaks anything (substantially, at least).
The sooner we know the better.
This one
+#if GTK_CHECK_VERSION (3, 16, 0)
+=C2=A0 =C2=A0 =C2=A0 emacs_abort ();
+#else
looks a bit harsh and the corresponding logic appears quite contrived.
Maybe the entire function should be rewritten.
Removing the gtk_adjustment_changed calls should be tested ASAP.How could that be tested?= =C2=A0=C2=A0+=C2=A0 /* FIXME: This fun= ction assumes that GdkMonitor objects are never
+=C2=A0 =C2=A0* destroyed, even if the monitor is unplugged.=C2=A0 That=E2= =80=99s probably the
+=C2=A0 =C2=A0* case, but should be verified.=C2=A0 */
If this is a problem it is a problem already now.=C2=A0 Or am I missing
something?I think you're right, I&= #39;ve removed the comment. I was concerned about the lifetime of the monit= or objects, but I can't imagine this being an issue.=C2=A0= div>--001a113d5f88952fde0557bc3cf1--
+#if GTK_CHECK_VERSION (3, 22, 0)
+=C2=A0 /* FIXME: We should pass the GDK event to this function instead of<= br> +=C2=A0 =C2=A0* synthesizing it.=C2=A0 */
(I think you might want to get this from event_handler_gdk)I don't think that's possible, because the fi= lter is run before the GTK event is even created, so it has no access to it= . In fact, Emacs appears to swallow most X events before they are translate= d to GTK events.This should be fixed "for real" by cre= ating a gtk3term, which doesn't use any X functions. It appears to me t= hat the current "X with a bit of GTK sprinkled on top" can't = work any more.=C2=A0
I have no idea about the cairo related change.=C2=A0
<= /div>That's only used for the visible bell, which still works afte= r the change.=C2=A0