summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-11-24 16:15:46 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-11-24 16:15:46 +0000
commit1bb0d4c0f32d8cda26207a7c2048d647211f3340 (patch)
tree652420216f6da8588a21e5deb5c7004d580a8286
parent5efb9be963cb79b9a1a7cd4ee1d58f645eae9832 (diff)
downloadgtk+-1bb0d4c0f32d8cda26207a7c2048d647211f3340.tar.gz
Fixed up copyright message.
Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtklayout.[ch]: Fixed up copyright message. * gdk/gdkrgb.c (DM): Make the dither matrix constant so it can be shared. * gtk/gtkdnd.c: Make cursor bitmaps const. * gdk/gdk.h gdk/gdkpixmap.c: Added const to gdk_pixmap/bitmap_create_from_data.
-rw-r--r--ChangeLog12
-rw-r--r--ChangeLog.pre-2-012
-rw-r--r--ChangeLog.pre-2-1012
-rw-r--r--ChangeLog.pre-2-212
-rw-r--r--ChangeLog.pre-2-412
-rw-r--r--ChangeLog.pre-2-612
-rw-r--r--ChangeLog.pre-2-812
-rw-r--r--gdk/gdk.h22
-rw-r--r--gdk/gdkpixmap.c26
-rw-r--r--gdk/gdkrgb.c18
-rw-r--r--gdk/x11/gdkpixmap-x11.c26
-rw-r--r--gtk/gtkdnd.c24
-rw-r--r--gtk/gtklayout.c26
-rw-r--r--gtk/gtklayout.h26
14 files changed, 182 insertions, 70 deletions
diff --git a/ChangeLog b/ChangeLog
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index b19672dbaa..3f09102f8e 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,15 @@
+Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklayout.[ch]: Fixed up copyright message.
+
+ * gdk/gdkrgb.c (DM): Make the dither matrix constant
+ so it can be shared.
+
+ * gtk/gtkdnd.c: Make cursor bitmaps const.
+
+ * gdk/gdk.h gdk/gdkpixmap.c: Added const to
+ gdk_pixmap/bitmap_create_from_data.
+
Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
* docs/Changes-1.2.txt: added a section on scrolled windows and
diff --git a/gdk/gdk.h b/gdk/gdk.h
index a0aa173e3b..38edfd3e33 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -419,17 +419,17 @@ GdkPixmap* gdk_pixmap_new (GdkWindow *window,
gint width,
gint height,
gint depth);
-GdkBitmap* gdk_bitmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height);
-GdkPixmap* gdk_pixmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height,
- gint depth,
- GdkColor *fg,
- GdkColor *bg);
+GdkBitmap* gdk_bitmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height);
+GdkPixmap* gdk_pixmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height,
+ gint depth,
+ GdkColor *fg,
+ GdkColor *bg);
GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window,
GdkBitmap **mask,
GdkColor *transparent_color,
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c
index 3467388d46..f76e097d32 100644
--- a/gdk/gdkpixmap.c
+++ b/gdk/gdkpixmap.c
@@ -87,10 +87,10 @@ gdk_pixmap_new (GdkWindow *window,
}
GdkPixmap *
-gdk_bitmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height)
+gdk_bitmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height)
{
GdkPixmap *pixmap;
GdkWindowPrivate *private;
@@ -122,7 +122,7 @@ gdk_bitmap_create_from_data (GdkWindow *window,
private->xwindow = XCreateBitmapFromData (private->xdisplay,
window_private->xwindow,
- data, width, height);
+ (char *)data, width, height);
gdk_xid_table_insert (&private->xwindow, pixmap);
@@ -130,13 +130,13 @@ gdk_bitmap_create_from_data (GdkWindow *window,
}
GdkPixmap*
-gdk_pixmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height,
- gint depth,
- GdkColor *fg,
- GdkColor *bg)
+gdk_pixmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height,
+ gint depth,
+ GdkColor *fg,
+ GdkColor *bg)
{
GdkPixmap *pixmap;
GdkWindowPrivate *private;
@@ -174,7 +174,7 @@ gdk_pixmap_create_from_data (GdkWindow *window,
private->xwindow = XCreatePixmapFromBitmapData (private->xdisplay,
window_private->xwindow,
- data, width, height,
+ (char *)data, width, height,
fg->pixel, bg->pixel, depth);
gdk_xid_table_insert (&private->xwindow, pixmap);
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 455246c7fe..ad124457a8 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -846,7 +846,7 @@ gdk_rgb_convert_8 (GdkImage *image,
#define DM_WIDTH 128
#define DM_WIDTH_SHIFT 7
#define DM_HEIGHT 128
-static guchar DM[128][128] =
+static const guchar DM[128][128] =
{
{ 0, 41, 23, 5, 17, 39, 7, 15, 62, 23, 40, 51, 31, 47, 9, 32, 52, 27, 57, 25, 6, 61, 27, 52, 37, 7, 40, 63, 18, 36, 10, 42, 25, 62, 45, 34, 20, 42, 37, 14, 35, 29, 50, 10, 61, 2, 40, 8, 37, 12, 58, 22, 5, 41, 10, 39, 0, 60, 11, 46, 2, 55, 38, 17, 36, 59, 13, 54, 37, 56, 8, 29, 16, 13, 63, 22, 41, 55, 7, 20, 49, 14, 23, 55, 37, 23, 19, 36, 15, 49, 23, 63, 30, 14, 38, 27, 53, 13, 22, 41, 19, 31, 7, 19, 50, 30, 49, 16, 3, 32, 56, 40, 29, 34, 8, 48, 19, 45, 4, 51, 12, 46, 35, 49, 16, 42, 12, 62 },
{ 30, 57, 36, 54, 47, 34, 52, 27, 43, 4, 28, 7, 17, 36, 62, 13, 44, 7, 18, 48, 33, 21, 44, 14, 30, 47, 12, 33, 5, 55, 31, 58, 13, 30, 4, 17, 52, 10, 60, 26, 46, 0, 39, 27, 42, 22, 47, 25, 60, 32, 9, 38, 48, 17, 59, 30, 49, 18, 34, 25, 51, 19, 5, 48, 21, 8, 28, 46, 1, 32, 41, 19, 54, 47, 37, 18, 28, 11, 44, 30, 39, 56, 2, 33, 8, 42, 61, 28, 58, 8, 46, 9, 41, 4, 58, 7, 21, 48, 59, 10, 52, 14, 42, 57, 12, 25, 7, 53, 42, 24, 11, 50, 17, 59, 42, 2, 36, 60, 32, 17, 63, 29, 21, 7, 59, 32, 24, 39 },
@@ -1028,7 +1028,7 @@ gdk_rgb_convert_8_d666 (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint dith;
bptr = buf;
@@ -1068,7 +1068,7 @@ gdk_rgb_convert_8_d (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint dith;
gint rs, gs, bs;
@@ -2012,7 +2012,7 @@ gdk_rgb_convert_truecolor_lsb_d (GdkImage *image,
gint i;
gint dith;
gint r1, g1, b1;
- guchar *dmp;
+ const guchar *dmp;
r_right = 8 - image_info->visual->red_prec;
r_left = image_info->visual->red_shift;
@@ -2129,7 +2129,7 @@ gdk_rgb_convert_truecolor_msb_d (GdkImage *image,
gint shift, shift_init;
gint dith;
gint r1, g1, b1;
- guchar *dmp;
+ const guchar *dmp;
r_right = 8 - image_info->visual->red_prec;
r_left = image_info->visual->red_shift;
@@ -2186,7 +2186,7 @@ gdk_rgb_convert_4 (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint dith;
bptr = buf;
@@ -2309,7 +2309,7 @@ gdk_rgb_convert_gray4_d (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint prec, right;
gint gray;
@@ -2349,7 +2349,7 @@ gdk_rgb_convert_gray4_d_pack (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint prec, right;
gint gray;
guchar pix0, pix1;
@@ -2409,7 +2409,7 @@ gdk_rgb_convert_1 (GdkImage *image,
guchar *obuf, *obptr;
guchar *bptr, *bp2;
gint r, g, b;
- guchar *dmp;
+ const guchar *dmp;
gint dith;
guchar byte;
diff --git a/gdk/x11/gdkpixmap-x11.c b/gdk/x11/gdkpixmap-x11.c
index 3467388d46..f76e097d32 100644
--- a/gdk/x11/gdkpixmap-x11.c
+++ b/gdk/x11/gdkpixmap-x11.c
@@ -87,10 +87,10 @@ gdk_pixmap_new (GdkWindow *window,
}
GdkPixmap *
-gdk_bitmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height)
+gdk_bitmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height)
{
GdkPixmap *pixmap;
GdkWindowPrivate *private;
@@ -122,7 +122,7 @@ gdk_bitmap_create_from_data (GdkWindow *window,
private->xwindow = XCreateBitmapFromData (private->xdisplay,
window_private->xwindow,
- data, width, height);
+ (char *)data, width, height);
gdk_xid_table_insert (&private->xwindow, pixmap);
@@ -130,13 +130,13 @@ gdk_bitmap_create_from_data (GdkWindow *window,
}
GdkPixmap*
-gdk_pixmap_create_from_data (GdkWindow *window,
- gchar *data,
- gint width,
- gint height,
- gint depth,
- GdkColor *fg,
- GdkColor *bg)
+gdk_pixmap_create_from_data (GdkWindow *window,
+ const gchar *data,
+ gint width,
+ gint height,
+ gint depth,
+ GdkColor *fg,
+ GdkColor *bg)
{
GdkPixmap *pixmap;
GdkWindowPrivate *private;
@@ -174,7 +174,7 @@ gdk_pixmap_create_from_data (GdkWindow *window,
private->xwindow = XCreatePixmapFromBitmapData (private->xdisplay,
window_private->xwindow,
- data, width, height,
+ (char *)data, width, height,
fg->pixel, bg->pixel, depth);
gdk_xid_table_insert (&private->xwindow, pixmap);
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 71866638f8..7b8ee5ef69 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -215,70 +215,70 @@ static gint gtk_drag_abort_timeout (gpointer data);
#define action_ask_width 16
#define action_ask_height 16
-static char action_ask_bits[] = {
+static const char action_ask_bits[] = {
0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x1f, 0x06, 0xc0, 0x76, 0xf8, 0xb6, 0xf7,
0xd6, 0xec, 0x66, 0xdb, 0x66, 0xdb, 0x96, 0xec, 0x76, 0xf7, 0x76, 0xfb,
0xf6, 0xfc, 0x72, 0xfb, 0x7a, 0xfb, 0xf8, 0xfc, };
#define action_ask_mask_width 16
#define action_ask_mask_height 16
-static char action_ask_mask_bits[] = {
+static const char action_ask_mask_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x8f, 0x07, 0xcf, 0x0f,
0xef, 0x1f, 0xff, 0x3c, 0xff, 0x3c, 0x6f, 0x1f, 0x8f, 0x0f, 0x8f, 0x07,
0x0f, 0x03, 0x8f, 0x07, 0x87, 0x07, 0x07, 0x03, };
#define action_copy_width 16
#define action_copy_height 16
-static char action_copy_bits[] = {
+static const char action_copy_bits[] = {
0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x1f, 0x06, 0xc0, 0x76, 0xfb, 0x76, 0xfb,
0x76, 0xfb, 0x06, 0x83, 0xf6, 0xbf, 0xf6, 0xbf, 0x06, 0x83, 0x76, 0xfb,
0x76, 0xfb, 0x72, 0xfb, 0x7a, 0xf8, 0xf8, 0xff, };
#define action_copy_mask_width 16
#define action_copy_mask_height 16
-static char action_copy_mask_bits[] = {
+static const char action_copy_mask_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x8f, 0x07, 0x8f, 0x07,
0x8f, 0x07, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0x8f, 0x07,
0x8f, 0x07, 0x8f, 0x07, 0x87, 0x07, 0x07, 0x00, };
#define action_move_width 16
#define action_move_height 16
-static char action_move_bits[] = {
+static const char action_move_bits[] = {
0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x1f, 0x06, 0xc0, 0x96, 0xff, 0x26, 0xff,
0xc6, 0xf8, 0xd6, 0xe3, 0x96, 0x8f, 0xb6, 0xbf, 0x36, 0xc3, 0x76, 0xfb,
0x76, 0xfa, 0xf2, 0xfa, 0xfa, 0xf8, 0xf8, 0xff, };
#define action_move_mask_width 16
#define action_move_mask_height 16
-static char action_move_mask_bits[] = {
+static const char action_move_mask_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x6f, 0x00, 0xff, 0x00,
0xff, 0x07, 0xef, 0x1f, 0xef, 0x7f, 0xcf, 0x7f, 0xcf, 0x3f, 0x8f, 0x07,
0x8f, 0x07, 0x0f, 0x07, 0x07, 0x07, 0x07, 0x00, };
#define action_link_width 16
#define action_link_height 16
-static char action_link_bits[] = {
+static const char action_link_bits[] = {
0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x1f, 0x06, 0xc0, 0x36, 0xf8, 0xd6, 0xf7,
0x66, 0xec, 0xa6, 0xe8, 0x26, 0xdf, 0xe6, 0xbd, 0xd6, 0xa7, 0xb6, 0xa8,
0xb6, 0xb1, 0x72, 0xdf, 0xfa, 0xe0, 0xf8, 0xff, };
#define action_link_mask_width 16
#define action_link_mask_height 16
-static char action_link_mask_bits[] = {
+static const char action_link_mask_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xcf, 0x07, 0xef, 0x0f,
0xff, 0x1f, 0x7f, 0x1f, 0xff, 0x3f, 0xff, 0x7f, 0xef, 0x7f, 0xcf, 0x77,
0xcf, 0x7f, 0x8f, 0x3f, 0x07, 0x1f, 0x07, 0x00, };
#define action_none_width 16
#define action_none_height 16
-static char action_none_bits[] = {
+static const char action_none_bits[] = {
0x00, 0x00, 0xfe, 0x7f, 0xfe, 0x1f, 0x06, 0xc0, 0xf6, 0xff, 0xf6, 0xff,
0xf6, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf6, 0xff, 0xf6, 0xff,
0xf6, 0xff, 0xf2, 0xff, 0xfa, 0xff, 0xf8, 0xff, };
#define action_none_mask_width 16
#define action_none_mask_height 16
-static char action_none_mask_bits[] = {
+static const char action_none_mask_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x0f, 0x00, 0x0f, 0x00,
0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x00,
0x0f, 0x00, 0x0f, 0x00, 0x07, 0x00, 0x07, 0x00, };
@@ -288,8 +288,8 @@ static char action_none_mask_bits[] = {
static struct {
GdkDragAction action;
- char *bits;
- char *mask;
+ const char *bits;
+ const char *mask;
GdkCursor *cursor;
} drag_cursors[] = {
{ GDK_ACTION_DEFAULT, 0 },
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 0c9c2be789..801dca9588 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -1,10 +1,24 @@
-/* Copyright Owen Taylor, 1998
- *
- * This file may be distributed under either the terms of the
- * Netscape Public License, or the GNU Library General Public License
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library 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.
+ *
+ * GtkLayout: Widget for scrolling of arbitrary-sized areas.
*
- * Note: No GTK+ or Mozilla code should be added to this file.
- * The coding style should be that of the the GTK core.
+ * Copyright Owen Taylor, 1998
*/
#include "gtklayout.h"
diff --git a/gtk/gtklayout.h b/gtk/gtklayout.h
index 3f60f0bc6a..1e4298af56 100644
--- a/gtk/gtklayout.h
+++ b/gtk/gtklayout.h
@@ -1,10 +1,24 @@
-/* Copyright Owen Taylor, 1998
- *
- * This file may be distributed under either the terms of the
- * Netscape Public License, or the GNU Library General Public License
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
- * Note: No GTK+ or Mozilla code should be added to this file.
- * The coding style should be that of the the GTK core.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library 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.
+ *
+ * GtkLayout: Widget for scrolling of arbitrary-sized areas.
+ *
+ * Copyright Owen Taylor, 1998
*/
#ifndef __GTK_LAYOUT_H