extension: fix module query
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
719fb359fe
commit
b09f92cb35
2 changed files with 4 additions and 12 deletions
|
@ -45,12 +45,8 @@ namespace MediaPlayer {
|
|||
// TODO: Remove our CSS here
|
||||
}
|
||||
|
||||
[CCode (cname = "g_io_phosh_plugin_media_player_query")]
|
||||
[CCode (cname = "g_io_phosh_plugin_media_player_query", array_null_terminated = true, array_length = false)]
|
||||
public static string[] query () {
|
||||
StrvBuilder builder = new StrvBuilder ();
|
||||
|
||||
builder.add ("phosh-quick-setting-widget");
|
||||
builder.add ("phosh-lockscreen-widget");
|
||||
return builder.end ();
|
||||
return { "phosh-quick-setting-widget", "phosh-lockscreen-widget" };
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,12 +39,8 @@ namespace MediaPlayer.Preferences {
|
|||
public static void unload (IOModule module) {
|
||||
}
|
||||
|
||||
[CCode (cname = "g_io_phosh_plugin_prefs_media_player_query")]
|
||||
[CCode (cname = "g_io_phosh_plugin_prefs_media_player_query", array_null_terminated = true, array_length = false)]
|
||||
public static string[] query () {
|
||||
StrvBuilder builder = new StrvBuilder ();
|
||||
|
||||
builder.add ("phosh-quick-setting-widget-prefs");
|
||||
builder.add ("phosh-lockscreen-widget-prefs");
|
||||
return builder.end ();
|
||||
return { "phosh-quick-setting-widget-prefs", "phosh-lockscreen-widget-prefs" };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue