Пример #1
0
gboolean
gitg_shell_run_syncv (GError **error,
                      ...)
{
	va_list ap;
	gboolean res;

	va_start (ap, error);
	res = gitg_shell_run_sync_with_outputva (FALSE, NULL, ap, error);
	va_end (ap);

	return res;
}
Пример #2
0
gboolean
gitg_shell_run_sync_with_outputv (gboolean    preserve_line_endings,
                                  gchar    ***output,
                                  GError    **error,
                                  ...)
{
	va_list ap;
	gboolean ret;

	va_start (ap, error);
	ret = gitg_shell_run_sync_with_outputva (preserve_line_endings,
	                                         output,
	                                         ap,
	                                         error);
	va_end (ap);

	return ret;
}
Пример #3
0
gboolean
gitg_shell_run_syncv (GError **error,
                      ...)
{
	va_list ap;
	gchar **res;

	va_start (ap, error);
	res = gitg_shell_run_sync_with_outputva (FALSE, ap, error);
	va_end (ap);

	if (res)
	{
		g_strfreev (res);
		return TRUE;
	}
	else
	{
		return FALSE;
	}
}