[gnome-online-accounts] webview: Style fix
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] webview: Style fix
- Date: Tue, 30 Jul 2019 17:44:05 +0000 (UTC)
commit 686fa2b96eff9fe5c92625d374f5bdc7e871806a
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Jul 30 19:19:34 2019 +0200
webview: Style fix
Don't use a separate line to initialize variables.
src/goabackend/goawebview.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/goabackend/goawebview.c b/src/goabackend/goawebview.c
index b7af122c..8d1a55cf 100644
--- a/src/goabackend/goawebview.c
+++ b/src/goabackend/goawebview.c
@@ -413,9 +413,8 @@ goa_web_view_init (GoaWebView *self)
static void
goa_web_view_class_init (GoaWebViewClass *klass)
{
- GObjectClass *object_class;
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class = G_OBJECT_CLASS (klass);
object_class->constructed = goa_web_view_constructed;
object_class->dispose = goa_web_view_dispose;
object_class->finalize = goa_web_view_finalize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]