diff options
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-messagebox.c | 20 |
2 files changed, 25 insertions, 0 deletions
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 <jpr@ximian.com> + + * e-messagebox.c (e_message_box_get_id): Dont remove the function, give + it the proper name + 2001-01-17 Ettore Perazzoli <ettore@ximian.com> * 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; +} + + |