summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-06-23 00:34:40 +0000
committerPhilip Chimento <philip.chimento@gmail.com>2020-06-23 00:34:40 +0000
commit5923bc8dd1c1de5af093401cccbfffd59bba03cb (patch)
treecadf9fbee2644674555af3a0800cc5cb711afbe2 /examples
parentf60e36d1d88f23ce2b3a1e5e4b0e59ee9f795c28 (diff)
parentb8e64a497b81a4c8df80da61bd134f9d485bba97 (diff)
downloadgjs-5923bc8dd1c1de5af093401cccbfffd59bba03cb.tar.gz
Merge branch 'ewlsh/update-eslint' into 'master'
Update ESLint CI image. See merge request GNOME/gjs!451
Diffstat (limited to 'examples')
-rw-r--r--examples/gtk-application.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gtk-application.js b/examples/gtk-application.js
index 514b8bdd..e8ea05a4 100644
--- a/examples/gtk-application.js
+++ b/examples/gtk-application.js
@@ -20,7 +20,7 @@ var ExampleApplication = GObject.registerClass({
'ExampleProperty', // nickname
'An example read write property', // description
GObject.ParamFlags.READWRITE, // read/write/construct...
- 'a default value',
+ 'a default value'
),
},
Signals: {'examplesig': {param_types: [GObject.TYPE_INT]}},
@@ -83,7 +83,7 @@ var ExampleApplication = GObject.registerClass({
notif.set_title('Example Notification');
notif.set_body('Example Body');
notif.set_icon(
- new Gio.ThemedIcon({name: 'dialog-information-symbolic'}),
+ new Gio.ThemedIcon({name: 'dialog-information-symbolic'})
);
// A default action for when the body of the notification is clicked
@@ -92,7 +92,7 @@ var ExampleApplication = GObject.registerClass({
// A button for the notification
notif.add_button(
'Button Text',
- "app.exampleAction('exampleParameter')",
+ "app.exampleAction('exampleParameter')"
);
// This won't actually be shown, since an application needs a .desktop