0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.995

Problem:    gdk_pixbuf_new_from_inline() is deprecated.
Solution:   Generate auto/gui_gtk_gresources.c. (Kazunobu Kazunobu,
            closes #507)
This commit is contained in:
Bram Moolenaar
2015-12-29 18:55:46 +01:00
parent 4e5a31c8b3
commit 36e294c00c
24 changed files with 240 additions and 8 deletions

View File

@@ -22,6 +22,9 @@
*/
#include "vim.h"
#ifdef USE_GRESOURCE
#include "auto/gui_gtk_gresources.h"
#endif
#ifdef FEAT_GUI_GNOME
/* Gnome redefines _() and N_(). Grrr... */
@@ -1434,6 +1437,9 @@ gui_mch_early_init_check(void)
EMSG(_((char *)e_opendisp));
return FAIL;
}
#ifdef USE_GRESOURCE
gui_gtk_register_resource();
#endif
return OK;
}
@@ -3620,6 +3626,9 @@ mainwin_destroy_cb(GtkObject *object UNUSED, gpointer data UNUSED)
IOSIZE - 1);
preserve_exit();
}
#ifdef USE_GRESOURCE
gui_gtk_unregister_resource();
#endif
}