Mercurial > pidgin.yaz
changeset 8325:415283e39bce
[gaim-migrate @ 9049]
Sanity checks are good.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 23 Feb 2004 23:07:15 +0000 |
parents | 2df8b01af581 |
children | 031900a8420d |
files | src/gtkimhtmltoolbar.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtmltoolbar.c Mon Feb 23 23:04:19 2004 +0000 +++ b/src/gtkimhtmltoolbar.c Mon Feb 23 23:07:15 2004 +0000 @@ -860,5 +860,10 @@ void gtk_imhtmltoolbar_attach(GtkIMHtmlToolbar *toolbar, GtkWidget *imhtml) { + g_return_if_fail(toolbar != NULL); + g_return_if_fail(GTK_IS_IMHTMLTOOLBAR(toolbar)); + g_return_if_fail(imhtml != NULL); + g_return_if_fail(GTK_IS_IMHTML(imhtml)); + toolbar->imhtml = imhtml; }