From 0c4617b33efcc69af8bb125a841ab074f26f8662 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 17 Jan 2001 15:50:40 +0000 Subject: Dont remove the function, give it the proper name 2001-01-17 JP Rosevear * e-messagebox.c (e_message_box_get_id): Dont remove the function, give it the proper name svn path=/trunk/; revision=7580 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-messagebox.c | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 12cbedc55a..f4d32bf5a6 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2001-01-17 JP Rosevear + + * e-messagebox.c (e_message_box_get_id): Dont remove the function, give + it the proper name + 2001-01-17 Ettore Perazzoli * e-messagebox.c (e_message_box_get_checkbox): Remove the version diff --git a/widgets/misc/e-messagebox.c b/widgets/misc/e-messagebox.c index 28ca73a6f7..cb69b91b31 100644 --- a/widgets/misc/e-messagebox.c +++ b/widgets/misc/e-messagebox.c @@ -346,3 +346,23 @@ e_message_box_get_checkbox (EMessageBox *messagebox) return messagebox->_priv->checkbox; } + + +/** + * e_message_box_get_id: + * @messagebox: The message box to work on + * + * Gets the id of the message box. You should use this + * function instead of using the structure directly. + * + * Returns: the id */ +const char * +e_message_box_get_id (EMessageBox *messagebox) +{ + g_return_val_if_fail (messagebox != NULL, NULL); + g_return_val_if_fail (E_IS_MESSAGE_BOX (messagebox), NULL); + + return messagebox->_priv->id; +} + + -- cgit v1.2.3