forked from AuroraMiddleware/gtk
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master Closes #3765 See merge request GNOME/gtk!3311
This commit is contained in:
commit
2ce92085e1
@ -1658,6 +1658,7 @@ gtk_label_query_tooltip (GtkWidget *widget,
|
||||
if (link->title)
|
||||
{
|
||||
gtk_tooltip_set_markup (tooltip, link->title);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -192,20 +192,10 @@ gtk_gst_paintable_realize (GtkGstPaintable *self,
|
||||
GdkSurface *surface)
|
||||
{
|
||||
GError *error = NULL;
|
||||
GtkNative *native;
|
||||
GskRenderer *renderer;
|
||||
|
||||
if (self->context)
|
||||
return;
|
||||
|
||||
native = gtk_native_get_for_surface (surface);
|
||||
renderer = gtk_native_get_renderer (native);
|
||||
if (!GSK_IS_GL_RENDERER (renderer))
|
||||
{
|
||||
GST_INFO ("not using GL with a %s renderer\n", G_OBJECT_TYPE_NAME (renderer));
|
||||
return;
|
||||
}
|
||||
|
||||
self->context = gdk_surface_create_gl_context (surface, &error);
|
||||
if (self->context == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user