network: Remove unused ->validate class implementations
The implementation of ->validate in the parent class will return TRUE if there's no implementation in the child class, so no need to implement those. https://bugzilla.gnome.org/show_bug.cgi?id=769230
This commit is contained in:
parent
a90dc605d6
commit
73a8d38946
2 changed files with 0 additions and 22 deletions
|
@ -200,14 +200,6 @@ connect_details_page (CEPageDetails *page)
|
|||
|
||||
}
|
||||
|
||||
static gboolean
|
||||
validate (CEPage *page,
|
||||
NMConnection *connection,
|
||||
GError **error)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
ce_page_details_init (CEPageDetails *page)
|
||||
{
|
||||
|
@ -216,9 +208,6 @@ ce_page_details_init (CEPageDetails *page)
|
|||
static void
|
||||
ce_page_details_class_init (CEPageDetailsClass *class)
|
||||
{
|
||||
CEPageClass *page_class= CE_PAGE_CLASS (class);
|
||||
|
||||
page_class->validate = validate;
|
||||
}
|
||||
|
||||
CEPage *
|
||||
|
|
|
@ -54,14 +54,6 @@ connect_reset_page (CEPageReset *page)
|
|||
g_signal_connect (widget, "clicked", G_CALLBACK (reset_cb), page);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
validate (CEPage *page,
|
||||
NMConnection *connection,
|
||||
GError **error)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
ce_page_reset_init (CEPageReset *page)
|
||||
{
|
||||
|
@ -70,9 +62,6 @@ ce_page_reset_init (CEPageReset *page)
|
|||
static void
|
||||
ce_page_reset_class_init (CEPageResetClass *class)
|
||||
{
|
||||
CEPageClass *page_class= CE_PAGE_CLASS (class);
|
||||
|
||||
page_class->validate = validate;
|
||||
}
|
||||
|
||||
CEPage *
|
||||
|
|
Loading…
Add table
Reference in a new issue