Moved gtk_label_set() compatiblity define from <gtkcompat.h> to

Tue Dec 15 16:54:09 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.h: Moved gtk_label_set() compatiblity
	define from <gtkcompat.h> to <gtklabel.h> for
	compatibility.
This commit is contained in:
Owen Taylor 1998-12-15 21:54:13 +00:00 committed by Owen Taylor
parent dabb02d282
commit d56a55a484
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,6 @@ extern "C" {
#define gtk_paned_handle_size gtk_paned_set_handle_size #define gtk_paned_handle_size gtk_paned_set_handle_size
#define gtk_scale_value_width gtk_scale_get_value_width #define gtk_scale_value_width gtk_scale_get_value_width
#define gtk_window_position gtk_window_set_position #define gtk_window_position gtk_window_set_position
#define gtk_label_set gtk_label_set_text
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -82,6 +82,9 @@ void gtk_label_get (GtkLabel *label,
guint gtk_label_parse_uline (GtkLabel *label, guint gtk_label_parse_uline (GtkLabel *label,
const gchar *string); const gchar *string);
/* Deprecated */
#define gtk_label_set gtk_label_set_text
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */