]> git.eshelyaron.com Git - emacs.git/commit
Use GtkFontChooser on Gtk+ 3.2 and up.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 11 Aug 2012 08:54:35 +0000 (10:54 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 11 Aug 2012 08:54:35 +0000 (10:54 +0200)
commit32bcadb4763c2b57a6587e0daf95c421d5391526
tree04670db788cd9f80b245edf77896d6cb906539b9
parent9ff9402d3aa4278f34ffff71cc4b89ba7878e3ab
Use GtkFontChooser on Gtk+ 3.2 and up.

* src/gtkutil.c (gtk_font_chooser_dialog_new, GTK_FONT_CHOOSER)
(gtk_font_chooser_set_font, gtk_font_chooser_get_font): Define
for Gtk+ versions less than 3.2.
(xg_get_font_name): Use those functions/macros here.
Reported by Frans Oilinki <moilinki@gmail.com>.
src/ChangeLog
src/gtkutil.c