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/e-messagebox.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'widgets/misc/e-messagebox.c') 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