Convert TABS to spaces & reindent everywhere

This commit is contained in:
Daniel P. Berrange 2012-01-31 15:01:08 +00:00
parent c67a8cfdbe
commit e1283a9a60
38 changed files with 4243 additions and 4217 deletions

View File

@ -344,7 +344,6 @@ Private_DestroyStream(NPP instance, NPStream* stream, NPError reason)
static void
Private_URLNotify(NPP instance, const char* url,
NPReason reason, void* notifyData)
{
PLUGINDEBUGSTR("URLNotify");
NPP_URLNotify(instance, url, reason, notifyData);
@ -460,7 +459,6 @@ NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs)
err = NPERR_INVALID_FUNCTABLE_ERROR;
}
if (err == NPERR_NO_ERROR) {
/*
* Copy all the fields of Netscape function table into our

View File

@ -685,7 +685,7 @@ NPError OSCALL NP_Initialize(NPNetscapeFuncs* pFuncs);
NPError OSCALL NP_Shutdown();
char* NP_GetMIMEDescription();
char* !NP_GetMIMEDescription();
#ifdef __cplusplus
}

View File

@ -161,9 +161,8 @@ cleanup:
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -496,9 +496,8 @@ cleanup:
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -54,3 +54,10 @@ RemoteViewer* remote_viewer_new_with_controller(gboolean verbose);
G_END_DECLS
#endif /* REMOTE_VIEWER_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -1639,9 +1639,8 @@ void virt_viewer_app_usb_device_selection(VirtViewerApp *self,
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -97,3 +97,10 @@ void virt_viewer_app_usb_device_selection(VirtViewerApp *self,
G_END_DECLS
#endif /* VIRT_VIEWER_APP_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -231,12 +231,10 @@ virt_viewer_auth_libvirt_credentials(virConnectCredentialPtr cred,
}
#endif
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -47,3 +47,10 @@ int virt_viewer_auth_libvirt_credentials(virConnectCredentialPtr cred,
#endif
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -195,9 +195,8 @@ virt_viewer_display_spice_new(SpiceChannel *channel,
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -71,11 +71,10 @@ GtkWidget* virt_viewer_display_spice_new(SpiceChannel *channel,
G_END_DECLS
#endif /* _VIRT_VIEWER_DISPLAY_SPICE_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -186,13 +186,10 @@ virt_viewer_display_vnc_new(VncDisplay *vnc)
return GTK_WIDGET(display);
}
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -69,11 +69,10 @@ GtkWidget* virt_viewer_display_vnc_new(VncDisplay *display);
G_END_DECLS
#endif /* _VIRT_VIEWER_DISPLAY_VNC_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -528,8 +528,8 @@ void virt_viewer_display_set_show_hint(VirtViewerDisplay *self, gint hint)
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -109,8 +109,8 @@ G_END_DECLS
#endif /* _VIRT_VIEWER_DISPLAY_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -346,3 +346,10 @@ void virt_viewer_events_register(void) {
virt_viewer_events_remove_timeout);
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -28,3 +28,10 @@
void virt_viewer_events_register(void);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -147,9 +147,8 @@ cleanup:
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -141,9 +141,8 @@ virt_viewer_notebook_new (void)
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -67,12 +67,10 @@ void virt_viewer_notebook_show_display(VirtViewerNotebook *nb);
G_END_DECLS
#endif /* _VIRT_VIEWER_NOTEBOOK */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -439,9 +439,8 @@ virt_viewer_session_spice_new(void)
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -70,11 +70,10 @@ VirtViewerSession* virt_viewer_session_spice_new(void);
G_END_DECLS
#endif /* _VIRT_VIEWER_SESSION_SPICE_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -273,13 +273,10 @@ virt_viewer_session_vnc_new(void)
return VIRT_VIEWER_SESSION(session);
}
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -69,11 +69,10 @@ VirtViewerSession *virt_viewer_session_vnc_new(void);
G_END_DECLS
#endif /* _VIRT_VIEWER_SESSION_VNC_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -380,9 +380,8 @@ void virt_viewer_session_usb_device_selection(VirtViewerSession *self,
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* indent-tabs-mode: t
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -121,10 +121,11 @@ void virt_viewer_session_usb_device_selection(VirtViewerSession *self,
G_END_DECLS
#endif /* _VIRT_VIEWER_SESSION_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -129,8 +129,8 @@ virt_viewer_util_extract_host(const char *uristr,
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -41,3 +41,11 @@ int virt_viewer_util_extract_host(const char *uristr,
int *port);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -948,9 +948,8 @@ virt_viewer_window_get_builder(VirtViewerWindow *self)
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -75,11 +75,11 @@ GtkBuilder* virt_viewer_window_get_builder(VirtViewerWindow *window);
G_END_DECLS
#endif /* _VIRT_VIEWER_WINDOW */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -624,9 +624,8 @@ virt_viewer_new(const char *uri,
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/

View File

@ -62,3 +62,11 @@ virt_viewer_new(const char *uri,
G_END_DECLS
#endif /* VIRT_VIEWER_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/