mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
tui: fix error: ‘return’ with no value, in function returning non-void
This commit is contained in:
parent
c1cf2b06e5
commit
b81175f4ca
|
@ -129,7 +129,7 @@ add_section_for_page (NmtPageGrid *grid, NmtNewtWidget *widget)
|
|||
NmtEditorPage *page;
|
||||
NmtNewtWidget *section, *header, *toggle;
|
||||
|
||||
g_return_if_fail (NMT_IS_EDITOR_PAGE (widget));
|
||||
g_return_val_if_fail (NMT_IS_EDITOR_PAGE (widget), NULL);
|
||||
g_return_val_if_fail (nmt_newt_widget_get_parent (widget) == NULL, NULL);
|
||||
|
||||
page = NMT_EDITOR_PAGE (widget);
|
||||
|
|
Loading…
Reference in a new issue