]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/commit
panel-plugin: migrate GtkTooltips to new simpler API.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 23 Oct 2019 02:27:10 +0000 (22:27 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Oct 2019 13:26:40 +0000 (09:26 -0400)
commit3ebc615989944f6e1a484741a2179123cf450b8c
treeb7e5882bb9423fa82da3469961af8c5f04df1981
parent19d2605ed6514d97d381a14ceae40e1619c4538f
panel-plugin: migrate GtkTooltips to new simpler API.

In gtk+-3.x, the GtkTooltips struct is gone and you're supposed to use
the newer API that was available back in gtk+-2.x:

  https://developer.gnome.org/gtk2/stable/gtk-migrating-tooltips.html

For us, this is pretty straightforward: instead of declaring a GtkTooltips
member and doing stuff to it, we just call the gtk_widget_set_tooltip_text()
function on our plugin's eventbox instead.
panel-plugin/xfce4-hdaps.c
panel-plugin/xfce4-hdaps.h