diff options
Diffstat (limited to 'src/widgets/sp-color-preview.cpp')
| -rw-r--r-- | src/widgets/sp-color-preview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/sp-color-preview.cpp b/src/widgets/sp-color-preview.cpp index aad850b7c..433301f85 100644 --- a/src/widgets/sp-color-preview.cpp +++ b/src/widgets/sp-color-preview.cpp @@ -110,7 +110,7 @@ sp_color_preview_size_allocate (GtkWidget *widget, GtkAllocation *allocation) widget->allocation = *allocation; - if (GTK_WIDGET_DRAWABLE (image)) { + if (gtk_widget_is_drawable (GTK_WIDGET (image))) { gtk_widget_queue_draw (GTK_WIDGET (image)); } } @@ -122,7 +122,7 @@ sp_color_preview_expose (GtkWidget *widget, GdkEventExpose *event) cp = SP_COLOR_PREVIEW (widget); - if (GTK_WIDGET_DRAWABLE (widget)) { + if (gtk_widget_is_drawable (widget)) { sp_color_preview_paint (cp, &event->area); } @@ -146,7 +146,7 @@ sp_color_preview_set_rgba32 (SPColorPreview *cp, guint32 rgba) { cp->rgba = rgba; - if (GTK_WIDGET_DRAWABLE (cp)) { + if (gtk_widget_is_drawable (GTK_WIDGET (cp))) { gtk_widget_queue_draw (GTK_WIDGET (cp)); } } |
