mirror of https://github.com/GNOME/gimp.git
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)).
This commit is contained in:
parent
0c46cef04d
commit
82282ea86c
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2005-11-02 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/text/gimptext.c: code cleanup, untabified.
|
* app/text/gimptext.c: code cleanup, untabified.
|
||||||
|
|
|
@ -477,6 +477,7 @@ gimp_clipboard_set_text (Gimp *gimp,
|
||||||
{
|
{
|
||||||
GtkClipboard *clipboard;
|
GtkClipboard *clipboard;
|
||||||
|
|
||||||
|
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||||
g_return_if_fail (text != NULL);
|
g_return_if_fail (text != NULL);
|
||||||
|
|
||||||
gimp_clipboard_clear (gimp_clipboard_get (gimp));
|
gimp_clipboard_clear (gimp_clipboard_get (gimp));
|
||||||
|
|
Loading…
Reference in New Issue