[GB.GTK3]
* BUG: Fix GTK+3 compilation. git-svn-id: svn://localhost/gambas/trunk@6038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
b3acb379f4
commit
184b1a2898
3 changed files with 6 additions and 6 deletions
|
@ -1965,7 +1965,7 @@ static int type_to_index(GType type)
|
|||
const char *gt_get_style_class(GType type)
|
||||
{
|
||||
static const char *_class[] = {
|
||||
GTK_STYLE_CLASS_BUTTON, GTK_STYLE_CLASS_ENTRY, NULL, GTK_STYLE_CLASS_TOOLTIP,
|
||||
GTK_STYLE_CLASS_BUTTON, GTK_STYLE_CLASS_ENTRY, GTK_STYLE_CLASS_BACKGROUND, GTK_STYLE_CLASS_TOOLTIP,
|
||||
GTK_STYLE_CLASS_SCROLLBAR, NULL, GTK_STYLE_CLASS_CHECK, GTK_STYLE_CLASS_RADIO,
|
||||
GTK_STYLE_CLASS_FRAME, GTK_STYLE_CLASS_BACKGROUND
|
||||
};
|
||||
|
|
|
@ -139,7 +139,7 @@ GtkWidget *gtk_window_group_get_current_grab(GtkWindowGroup *window_group);
|
|||
// Cairo support
|
||||
|
||||
#if GTK_CHECK_VERSION(3, 10, 0)
|
||||
#define gt_cairo_create_surface_from_pixbuf gdk_cairo_create_surface_from_pixbuf
|
||||
#define gt_cairo_create_surface_from_pixbuf gdk_cairo_surface_create_from_pixbuf
|
||||
#else
|
||||
cairo_surface_t *gt_cairo_create_surface_from_pixbuf(const GdkPixbuf *pixbuf);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue