summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-15 21:54:13 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-15 21:54:13 +0000
commitd56a55a4843afb45f274d7ae1f7900a21409e28a (patch)
treee14a89a41c617b799c20fd459fb0f1de06dfc812
parentdabb02d2822d9c8ecf67642a7d9d06b358d39247 (diff)
downloadgtk+-d56a55a4843afb45f274d7ae1f7900a21409e28a.tar.gz
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.
-rw-r--r--gtk/gtkcompat.h1
-rw-r--r--gtk/gtklabel.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkcompat.h b/gtk/gtkcompat.h
index fc4dc79425..3b4e90c3bf 100644
--- a/gtk/gtkcompat.h
+++ b/gtk/gtkcompat.h
@@ -36,7 +36,6 @@ extern "C" {
#define gtk_paned_handle_size gtk_paned_set_handle_size
#define gtk_scale_value_width gtk_scale_get_value_width
#define gtk_window_position gtk_window_set_position
-#define gtk_label_set gtk_label_set_text
#ifdef __cplusplus
}
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h
index 6a2b87c8ae..9f839e8734 100644
--- a/gtk/gtklabel.h
+++ b/gtk/gtklabel.h
@@ -82,6 +82,9 @@ void gtk_label_get (GtkLabel *label,
guint gtk_label_parse_uline (GtkLabel *label,
const gchar *string);
+/* Deprecated */
+#define gtk_label_set gtk_label_set_text
+
#ifdef __cplusplus
}
#endif /* __cplusplus */