{"action":"created","issue":{"url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/84","repository_url":"https://api.github.com/repos/sebp/PyGObject-Tutorial","labels_url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/84/comments","events_url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/84/events","html_url":"https://github.com/sebp/PyGObject-Tutorial/issues/84","id":163305102,"number":84,"title":"AttributeError in Application Example","user":{"login":"danielgoncalves","id":737884,"avatar_url":"https://avatars.githubusercontent.com/u/737884?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgoncalves","html_url":"https://github.com/danielgoncalves","followers_url":"https://api.github.com/users/danielgoncalves/followers","following_url":"https://api.github.com/users/danielgoncalves/following{/other_user}","gists_url":"https://api.github.com/users/danielgoncalves/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgoncalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgoncalves/subscriptions","organizations_url":"https://api.github.com/users/danielgoncalves/orgs","repos_url":"https://api.github.com/users/danielgoncalves/repos","events_url":"https://api.github.com/users/danielgoncalves/events{/privacy}","received_events_url":"https://api.github.com/users/danielgoncalves/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-01T02:07:52Z","updated_at":"2016-09-26T19:58:45Z","closed_at":"2016-09-26T19:58:45Z","body":"I am experiencing an `AttributeError` at [examples/application_example:97](https://github.com/sebp/PyGObject-Tutorial/blob/master/examples/application_example.py#L97)\r\n\r\n```#!bash\r\n$ python3 application_example.py \r\nTraceback (most recent call last):\r\n  File \"application_example.py\", line 141, in <module>\r\n    app = Application()\r\n  File \"application_example.py\", line 97, in __init__\r\n    self.add_main_option(\"test\", ord(\"t\"), GLib.OptionFlags.NONE,\r\nAttributeError: 'Application' object has no attribute 'add_main_option'\r\n```\r\n\r\n* Python 3.4.3\r\n* Gtk 3.10.8\r\n* Ubuntu 14.04.4 LTS (64)\r\n\r\nI tried to investigate the [`GtkApplication` API](https://developer.gnome.org/gtk3/stable/GtkApplication.html) documentation but I still have no idea where this method should be.\r\n"},"comment":{"url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/comments/249679857","html_url":"https://github.com/sebp/PyGObject-Tutorial/issues/84#issuecomment-249679857","issue_url":"https://api.github.com/repos/sebp/PyGObject-Tutorial/issues/84","id":249679857,"user":{"login":"sebp","id":74460,"avatar_url":"https://avatars.githubusercontent.com/u/74460?v=3","gravatar_id":"","url":"https://api.github.com/users/sebp","html_url":"https://github.com/sebp","followers_url":"https://api.github.com/users/sebp/followers","following_url":"https://api.github.com/users/sebp/following{/other_user}","gists_url":"https://api.github.com/users/sebp/gists{/gist_id}","starred_url":"https://api.github.com/users/sebp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebp/subscriptions","organizations_url":"https://api.github.com/users/sebp/orgs","repos_url":"https://api.github.com/users/sebp/repos","events_url":"https://api.github.com/users/sebp/events{/privacy}","received_events_url":"https://api.github.com/users/sebp/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T19:58:45Z","updated_at":"2016-09-26T19:58:45Z","body":"Closing this, because it is not a bug."}}
{"actor":{"display_login":"sebp"}}