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:
parent
4e751a3b58
commit
79f90c147c
1 changed files with 2 additions and 2 deletions
|
@ -299,9 +299,9 @@ meta_plugin_manager_confirm_display_change (MetaPluginManager *plugin_mgr)
|
||||||
MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin);
|
MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin);
|
||||||
|
|
||||||
if (klass->confirm_display_change)
|
if (klass->confirm_display_change)
|
||||||
return klass->confirm_display_change (plugin);
|
klass->confirm_display_change (plugin);
|
||||||
else
|
else
|
||||||
return meta_plugin_complete_display_change (plugin, TRUE);
|
meta_plugin_complete_display_change (plugin, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|
Loading…
Reference in a new issue