diff options
author | JP Rosevear <jpr@ximian.com> | 2001-01-17 23:50:40 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-17 23:50:40 +0800 |
commit | 0c4617b33efcc69af8bb125a841ab074f26f8662 (patch) | |
tree | 922d7edf3d1a6abee8246ee32a8cd2bfaf5e93d9 /widgets | |
parent | 4358994dbe9f50198313e8411dd458899ee8d1a5 (diff) | |
download | gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar.gz gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar.bz2 gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar.lz gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar.xz gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.tar.zst gsoc2013-evolution-0c4617b33efcc69af8bb125a841ab074f26f8662.zip |
Dont remove the function, give it the proper name
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
svn path=/trunk/; revision=7580
Diffstat (limited to 'widgets')
-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; +} + + |