format: move shell_format_int_alternative_output() to ShellJS
gnome-shell-extension-prefs uses format(), but can't pull in Shell (which is a dependency for the module), since that in turn would pull in Meta. Fix this by moving the introspected int format function to ShellJS instead. https://bugzilla.gnome.org/show_bug.cgi?id=673106
This commit is contained in:
@ -868,15 +868,3 @@ shell_util_wifexited (int status,
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_format_int_alternative_output:
|
||||
* @intval:
|
||||
*
|
||||
* Returns: (transfer full):
|
||||
*/
|
||||
gchar *
|
||||
shell_format_int_alternative_output (gint intval)
|
||||
{
|
||||
return g_strdup_printf ("%Id", intval);
|
||||
}
|
||||
|
Reference in New Issue
Block a user