]> git.eshelyaron.com Git - emacs.git/commit
Support tool bar icon image also on GTK+2 with cairo
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 28 May 2019 08:31:57 +0000 (17:31 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 28 May 2019 08:31:57 +0000 (17:31 +0900)
commitc617b4bf1e50bf33f0016bbcd5f502cc88150f26
tree9ee54794d6c99b46cc04adc6ccd3a92b53c5bf74
parentf113512ffcd2bce6af6cc0f8f49df11d1dcf0fe9
Support tool bar icon image also on GTK+2 with cairo

* src/gtkutil.c (xg_get_pixbuf_from_surface) [USE_CAIRO && !HAVE_GTK3]: New
function.
(xg_get_image_for_pixmap) [USE_CAIRO && !HAVE_GTK3]: Use it.
(xg_tool_item_stale_p, update_frame_tool_bar) [USE_CAIRO && !HAVE_GTK3]: Use
cairo code also on GTK+2.
src/gtkutil.c