Commit 82282ea8 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

added g_return_if_fail (GIMP_IS_GIMP (gimp)).

2005-11-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpclipboard.c (gimp_clipboard_set_text): added
	g_return_if_fail (GIMP_IS_GIMP (gimp)).
parent 0c46cef0
2005-11-02 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpclipboard.c (gimp_clipboard_set_text): added
g_return_if_fail (GIMP_IS_GIMP (gimp)).
2005-11-02 Michael Natterer <mitch@gimp.org>
* app/text/gimptext.c: code cleanup, untabified.
......
......@@ -477,6 +477,7 @@ gimp_clipboard_set_text (Gimp *gimp,
{
GtkClipboard *clipboard;
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (text != NULL);
gimp_clipboard_clear (gimp_clipboard_get (gimp));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment