]> Pileus Git - ~andy/gtk/commit
color-swatch: derive directly from GtkWidget
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 17 Feb 2012 17:31:19 +0000 (18:31 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 18 Feb 2012 08:55:45 +0000 (09:55 +0100)
commit8e85702dcab83b2f9c6a25e9d9ebf6a541ef8e95
treec322c7cd0168b68dfe61f993e0da99fea31c82cc
parentb58d50a0da0b0b6a92392373ad0fae839dfca408
color-swatch: derive directly from GtkWidget

Instead of GtkDrawingArea, since that calls in realize
gtk_style_context_set_background(). We don't want that to happen, given
that we do all the painting ourselves in _draw().
gtk/gtkcolorswatch.c
gtk/gtkcolorswatchprivate.h