]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcolorswatchprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkcolorswatchprivate.h
index 4f236ab008780258e136140b4f01778ff0598395..67ed17525af51266317813b0cd9463f63a360e19 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __GTK_COLOR_SWATCH_H__
+#define __GTK_COLOR_SWATCH_H__
+
 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#ifndef __GTK_COLOR_SWATCH_H__
-#define __GTK_COLOR_SWATCH_H__
-
 #include <gtk/gtkdrawingarea.h>
 
 G_BEGIN_DECLS
@@ -42,7 +40,7 @@ typedef struct _GtkColorSwatchPrivate GtkColorSwatchPrivate;
 
 struct _GtkColorSwatch
 {
-  GtkDrawingArea parent;
+  GtkWidget parent;
 
   /*< private >*/
   GtkColorSwatchPrivate *priv;
@@ -50,7 +48,7 @@ struct _GtkColorSwatch
 
 struct _GtkColorSwatchClass
 {
-  GtkDrawingAreaClass parent_class;
+  GtkWidgetClass parent_class;
 
   void ( * activate)  (GtkColorSwatch *swatch);
   void ( * customize) (GtkColorSwatch *swatch);