MetaPluginManager: Don't return void value

The spec for `meta_plugin_manager_confirm_display_change()` is to return
`void`, no need to return a value there.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/456
This commit is contained in:
Olivier Fourdan 2019-02-21 09:24:03 +01:00
parent 4e751a3b58
commit 79f90c147c

View File

@ -299,9 +299,9 @@ meta_plugin_manager_confirm_display_change (MetaPluginManager *plugin_mgr)
MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin);
if (klass->confirm_display_change)
return klass->confirm_display_change (plugin);
klass->confirm_display_change (plugin);
else
return meta_plugin_complete_display_change (plugin, TRUE);
meta_plugin_complete_display_change (plugin, TRUE);
}
gboolean