{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest/pulls/comments/52817440","id":52817440,"diff_hunk":"@@ -141,24 +141,39 @@ class GUIFormSpecMenu : public GUIModalMenu\n \t{\n \t\tImageDrawSpec()\n \t\t{\n+\t\t\tparent_button = NULL;\n \t\t}\n \t\tImageDrawSpec(const std::string &a_name,\n \t\t\t\tconst std::string &a_item_name,\n+\t\t\t\tgui::IGUIButton *a_parent_button,\n \t\t\t\tconst v2s32 &a_pos, const v2s32 &a_geom):\n \t\t\tname(a_name),\n-\t\t\titem_name (a_item_name),\n+\t\t\titem_name(a_item_name),\n+\t\t\tparent_button(a_parent_button),\n \t\t\tpos(a_pos),\n \t\t\tgeom(a_geom)\n \t\t{\n \t\t\tscale = true;\n \t\t}\n \t\tImageDrawSpec(const std::string &a_name,\n+\t\t\t\tconst std::string &a_item_name,\n \t\t\t\tconst v2s32 &a_pos, const v2s32 &a_geom):\n \t\t\tname(a_name),\n+\t\t\titem_name(a_item_name),\n \t\t\tpos(a_pos),\n \t\t\tgeom(a_geom)\n \t\t{\n \t\t\tscale = true;\n+\t\t\tparent_button = NULL;","path":"src/guiFormSpecMenu.h","position":28,"original_position":28,"commit_id":"c91e765bfde64ecbe3435436f8af8d21e48b6bba","original_commit_id":"c91e765bfde64ecbe3435436f8af8d21e48b6bba","user":{"login":"est31","id":8872119,"avatar_url":"https://avatars.githubusercontent.com/u/8872119?v=3","gravatar_id":"","url":"https://api.github.com/users/est31","html_url":"https://github.com/est31","followers_url":"https://api.github.com/users/est31/followers","following_url":"https://api.github.com/users/est31/following{/other_user}","gists_url":"https://api.github.com/users/est31/gists{/gist_id}","starred_url":"https://api.github.com/users/est31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/est31/subscriptions","organizations_url":"https://api.github.com/users/est31/orgs","repos_url":"https://api.github.com/users/est31/repos","events_url":"https://api.github.com/users/est31/events{/privacy}","received_events_url":"https://api.github.com/users/est31/received_events","type":"User","site_admin":false},"body":"use the initialisator list","created_at":"2016-02-13T00:42:22Z","updated_at":"2016-02-13T00:42:22Z","html_url":"https://github.com/minetest/minetest/pull/3678#discussion_r52817440","pull_request_url":"https://api.github.com/repos/minetest/minetest/pulls/3678","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments/52817440"},"html":{"href":"https://github.com/minetest/minetest/pull/3678#discussion_r52817440"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest/pulls/3678"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/3678","id":58723962,"html_url":"https://github.com/minetest/minetest/pull/3678","diff_url":"https://github.com/minetest/minetest/pull/3678.diff","patch_url":"https://github.com/minetest/minetest/pull/3678.patch","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3678","number":3678,"state":"open","locked":false,"title":"Formspec: recreate item_image_button pressed state for its image and …","user":{"login":"RealBadAngel","id":2177790,"avatar_url":"https://avatars.githubusercontent.com/u/2177790?v=3","gravatar_id":"","url":"https://api.github.com/users/RealBadAngel","html_url":"https://github.com/RealBadAngel","followers_url":"https://api.github.com/users/RealBadAngel/followers","following_url":"https://api.github.com/users/RealBadAngel/following{/other_user}","gists_url":"https://api.github.com/users/RealBadAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/RealBadAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealBadAngel/subscriptions","organizations_url":"https://api.github.com/users/RealBadAngel/orgs","repos_url":"https://api.github.com/users/RealBadAngel/repos","events_url":"https://api.github.com/users/RealBadAngel/events{/privacy}","received_events_url":"https://api.github.com/users/RealBadAngel/received_events","type":"User","site_admin":false},"body":"…label","created_at":"2016-02-09T09:45:22Z","updated_at":"2016-02-13T00:42:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13ba7ccd7f33227af59698449041e57e8941e925","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest/pulls/3678/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest/pulls/3678/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3678/comments","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/c91e765bfde64ecbe3435436f8af8d21e48b6bba","head":{"label":"RealBadAngel:click","ref":"click","sha":"c91e765bfde64ecbe3435436f8af8d21e48b6bba","user":{"login":"RealBadAngel","id":2177790,"avatar_url":"https://avatars.githubusercontent.com/u/2177790?v=3","gravatar_id":"","url":"https://api.github.com/users/RealBadAngel","html_url":"https://github.com/RealBadAngel","followers_url":"https://api.github.com/users/RealBadAngel/followers","following_url":"https://api.github.com/users/RealBadAngel/following{/other_user}","gists_url":"https://api.github.com/users/RealBadAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/RealBadAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealBadAngel/subscriptions","organizations_url":"https://api.github.com/users/RealBadAngel/orgs","repos_url":"https://api.github.com/users/RealBadAngel/repos","events_url":"https://api.github.com/users/RealBadAngel/events{/privacy}","received_events_url":"https://api.github.com/users/RealBadAngel/received_events","type":"User","site_admin":false},"repo":{"id":42199776,"name":"minetestHD","full_name":"RealBadAngel/minetestHD","owner":{"login":"RealBadAngel","id":2177790,"avatar_url":"https://avatars.githubusercontent.com/u/2177790?v=3","gravatar_id":"","url":"https://api.github.com/users/RealBadAngel","html_url":"https://github.com/RealBadAngel","followers_url":"https://api.github.com/users/RealBadAngel/followers","following_url":"https://api.github.com/users/RealBadAngel/following{/other_user}","gists_url":"https://api.github.com/users/RealBadAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/RealBadAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealBadAngel/subscriptions","organizations_url":"https://api.github.com/users/RealBadAngel/orgs","repos_url":"https://api.github.com/users/RealBadAngel/repos","events_url":"https://api.github.com/users/RealBadAngel/events{/privacy}","received_events_url":"https://api.github.com/users/RealBadAngel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RealBadAngel/minetestHD","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":true,"url":"https://api.github.com/repos/RealBadAngel/minetestHD","forks_url":"https://api.github.com/repos/RealBadAngel/minetestHD/forks","keys_url":"https://api.github.com/repos/RealBadAngel/minetestHD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RealBadAngel/minetestHD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RealBadAngel/minetestHD/teams","hooks_url":"https://api.github.com/repos/RealBadAngel/minetestHD/hooks","issue_events_url":"https://api.github.com/repos/RealBadAngel/minetestHD/issues/events{/number}","events_url":"https://api.github.com/repos/RealBadAngel/minetestHD/events","assignees_url":"https://api.github.com/repos/RealBadAngel/minetestHD/assignees{/user}","branches_url":"https://api.github.com/repos/RealBadAngel/minetestHD/branches{/branch}","tags_url":"https://api.github.com/repos/RealBadAngel/minetestHD/tags","blobs_url":"https://api.github.com/repos/RealBadAngel/minetestHD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RealBadAngel/minetestHD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RealBadAngel/minetestHD/git/refs{/sha}","trees_url":"https://api.github.com/repos/RealBadAngel/minetestHD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RealBadAngel/minetestHD/statuses/{sha}","languages_url":"https://api.github.com/repos/RealBadAngel/minetestHD/languages","stargazers_url":"https://api.github.com/repos/RealBadAngel/minetestHD/stargazers","contributors_url":"https://api.github.com/repos/RealBadAngel/minetestHD/contributors","subscribers_url":"https://api.github.com/repos/RealBadAngel/minetestHD/subscribers","subscription_url":"https://api.github.com/repos/RealBadAngel/minetestHD/subscription","commits_url":"https://api.github.com/repos/RealBadAngel/minetestHD/commits{/sha}","git_commits_url":"https://api.github.com/repos/RealBadAngel/minetestHD/git/commits{/sha}","comments_url":"https://api.github.com/repos/RealBadAngel/minetestHD/comments{/number}","issue_comment_url":"https://api.github.com/repos/RealBadAngel/minetestHD/issues/comments{/number}","contents_url":"https://api.github.com/repos/RealBadAngel/minetestHD/contents/{+path}","compare_url":"https://api.github.com/repos/RealBadAngel/minetestHD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RealBadAngel/minetestHD/merges","archive_url":"https://api.github.com/repos/RealBadAngel/minetestHD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RealBadAngel/minetestHD/downloads","issues_url":"https://api.github.com/repos/RealBadAngel/minetestHD/issues{/number}","pulls_url":"https://api.github.com/repos/RealBadAngel/minetestHD/pulls{/number}","milestones_url":"https://api.github.com/repos/RealBadAngel/minetestHD/milestones{/number}","notifications_url":"https://api.github.com/repos/RealBadAngel/minetestHD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RealBadAngel/minetestHD/labels{/name}","releases_url":"https://api.github.com/repos/RealBadAngel/minetestHD/releases{/id}","deployments_url":"https://api.github.com/repos/RealBadAngel/minetestHD/deployments","created_at":"2015-09-09T19:24:54Z","updated_at":"2016-01-28T11:01:35Z","pushed_at":"2016-02-12T14:40:48Z","git_url":"git://github.com/RealBadAngel/minetestHD.git","ssh_url":"git@github.com:RealBadAngel/minetestHD.git","clone_url":"https://github.com/RealBadAngel/minetestHD.git","svn_url":"https://github.com/RealBadAngel/minetestHD","homepage":"http://minetest.net/","size":45383,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"minetest:master","ref":"master","sha":"fefa148d694364cb4c60fbb4ffdc0f8ae6388df6","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":2168780,"name":"minetest","full_name":"minetest/minetest","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":false,"url":"https://api.github.com/repos/minetest/minetest","forks_url":"https://api.github.com/repos/minetest/minetest/forks","keys_url":"https://api.github.com/repos/minetest/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest/teams","hooks_url":"https://api.github.com/repos/minetest/minetest/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest/events","assignees_url":"https://api.github.com/repos/minetest/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest/tags","blobs_url":"https://api.github.com/repos/minetest/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest/subscription","commits_url":"https://api.github.com/repos/minetest/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/minetest/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest/merges","archive_url":"https://api.github.com/repos/minetest/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest/downloads","issues_url":"https://api.github.com/repos/minetest/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest/releases{/id}","deployments_url":"https://api.github.com/repos/minetest/minetest/deployments","created_at":"2011-08-07T13:48:36Z","updated_at":"2016-02-12T17:55:13Z","pushed_at":"2016-02-12T19:33:08Z","git_url":"git://github.com/minetest/minetest.git","ssh_url":"git@github.com:minetest/minetest.git","clone_url":"https://github.com/minetest/minetest.git","svn_url":"https://github.com/minetest/minetest","homepage":"http://minetest.net/","size":92069,"stargazers_count":1810,"watchers_count":1810,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":591,"mirror_url":null,"open_issues_count":739,"forks":591,"open_issues":739,"watchers":1810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/3678"},"html":{"href":"https://github.com/minetest/minetest/pull/3678"},"issue":{"href":"https://api.github.com/repos/minetest/minetest/issues/3678"},"comments":{"href":"https://api.github.com/repos/minetest/minetest/issues/3678/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest/pulls/3678/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest/pulls/3678/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest/statuses/c91e765bfde64ecbe3435436f8af8d21e48b6bba"}}}}