mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
Merge branch 'matthiasc/for-main' into 'main'
iconhelper: Handle GtkSymbolicPaintable See merge request GNOME/gtk!5440
This commit is contained in:
commit
9c669cbe90
@ -33,6 +33,7 @@
|
||||
#include "gtksnapshot.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gdk/gdkprofilerprivate.h"
|
||||
#include "gtksymbolicpaintable.h"
|
||||
|
||||
struct _GtkIconHelper
|
||||
{
|
||||
@ -123,7 +124,7 @@ gtk_icon_helper_load_paintable (GtkIconHelper *self,
|
||||
{
|
||||
case GTK_IMAGE_PAINTABLE:
|
||||
paintable = g_object_ref (gtk_image_definition_get_paintable (self->def));
|
||||
symbolic = FALSE;
|
||||
symbolic = GTK_IS_SYMBOLIC_PAINTABLE (paintable);
|
||||
break;
|
||||
|
||||
case GTK_IMAGE_ICON_NAME:
|
||||
|
Loading…
Reference in New Issue
Block a user