[virt-tools-list] [PATCH virt-viewer 5/6] Use a common early init() function

Christophe Fergeau cfergeau at redhat.com
Mon Oct 22 08:06:51 UTC 2012


On Sat, Oct 20, 2012 at 12:57:30AM +0200, Marc-André Lureau wrote:
> There is a number of things both virt-viewer and remote-viewer need to
> do early during execution. Do it only in one place.
> ---
> diff --git a/src/virt-viewer-util.h b/src/virt-viewer-util.h
> index 38c8078..181d67a 100644
> --- a/src/virt-viewer-util.h
> +++ b/src/virt-viewer-util.h
> @@ -32,6 +32,8 @@ extern gboolean doDebug;
>  #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
>  
>  
> +void virt_viewer_util_init(const gchar *appname);
> +

Nit: the other function prototypes below use char, not gchar

ACK.

Christophe

>  GtkBuilder *virt_viewer_util_load_ui(const char *name);
>  int virt_viewer_util_extract_host(const char *uristr,
>                                    char **scheme,
> -- 
> 1.7.11.7
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121022/5f2b6c14/attachment.sig>


More information about the virt-tools-list mailing list