diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-08-25 03:15:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-08-25 03:15:26 +0000 |
commit | 8de6598f6a45a2df6cba482955c92b422db404dc (patch) | |
tree | b6d6e36c2c7ca8e922250728fbfccbc80f222723 /gtk/gtkimage.h | |
parent | 5600b79e5ccc1aad73e273802a33fbc7c43538af (diff) | |
download | gtk+-8de6598f6a45a2df6cba482955c92b422db404dc.tar.gz |
Break compatibility and make gtk_image_new() take no arguments. The
Fri Aug 24 23:09:05 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimage.[ch] docs/Changes-2.0.txt: Break compatibility
and make gtk_image_new() take no arguments. The compiler will
catch it, and it is vastly more useful than having
gtk_image_new() be a deprecated alias for gtk_image_new_from_image().
* gtk/gtkmenu.c (gtk_menu_set_property): Apply patch
to add tearoff-title property (#51319, Lee Mallabone)
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r-- | gtk/gtkimage.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index 71c80dfd0a..b528ef4ac9 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -125,6 +125,7 @@ struct _GtkImageClass GtkType gtk_image_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_image_new (void); GtkWidget* gtk_image_new_from_pixmap (GdkPixmap *pixmap, GdkBitmap *mask); GtkWidget* gtk_image_new_from_image (GdkImage *image, @@ -177,8 +178,6 @@ GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image); #ifndef GTK_DISABLE_DEPRECATED /* These three are deprecated */ -GtkWidget* gtk_image_new (GdkImage *val, - GdkBitmap *mask); void gtk_image_set (GtkImage *image, GdkImage *val, GdkBitmap *mask); |