docs: Fix incorrect macro name in GType tutorial

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=770459
This commit is contained in:
Philip Withnall 2017-10-05 15:40:14 +01:00
parent b090a079f7
commit 121b1e5215

View File

@ -677,7 +677,7 @@ viewer_editable_save (ViewerEditable *self,
g_return_if_fail (VIEWER_IS_EDITABLE (self));
g_return_if_fail (error == NULL || *error == NULL);
iface = VIEWER_EDITABLE_GET_INTERFACE (self);
iface = VIEWER_EDITABLE_GET_IFACE (self);
g_return_if_fail (iface->save != NULL);
iface->save (self);
}