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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user