{"action":"created","comment":{"url":"https://api.github.com/repos/geany/geany-plugins/pulls/comments/53330997","id":53330997,"diff_hunk":"@@ -1733,9 +1736,12 @@ static void EditMacroElements(Macro *m)\n \n \t/* create dialog box */\n \tcTitle=g_strdup_printf(_(\"Edit: %s\"),m->name);\n-\tdialog=gtk_dialog_new_with_buttons(cTitle,GTK_WINDOW(geany->main_widgets->window),\n-\t\tGTK_DIALOG_DESTROY_WITH_PARENT,NULL);\n-\n+\tdialog=gtk_dialog_new();\n+    //_with_buttons(cTitle,GTK_WINDOW(geany->main_widgets->window),\n+\t\t//GTK_DIALOG_DESTROY_WITH_PARENT,NULL);\n+    gtk_window_set_title(GTK_WINDOW(dialog), cTitle);\n+    gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(geany->main_widgets->window));\n+    gtk_window_set_destroy_with_parent(GTK_WINDOW(dialog), TRUE);","path":"geanymacro/src/geanymacro.c","position":115,"original_position":115,"commit_id":"7946dac638d77381c7cd0ad4f7f231bf2007bf58","original_commit_id":"7946dac638d77381c7cd0ad4f7f231bf2007bf58","user":{"login":"b4n","id":793526,"avatar_url":"https://avatars.githubusercontent.com/u/793526?v=3","gravatar_id":"","url":"https://api.github.com/users/b4n","html_url":"https://github.com/b4n","followers_url":"https://api.github.com/users/b4n/followers","following_url":"https://api.github.com/users/b4n/following{/other_user}","gists_url":"https://api.github.com/users/b4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4n/subscriptions","organizations_url":"https://api.github.com/users/b4n/orgs","repos_url":"https://api.github.com/users/b4n/repos","events_url":"https://api.github.com/users/b4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4n/received_events","type":"User","site_admin":false},"body":"what was the problem with the `_with_buttons()` call, but with 0 buttons?","created_at":"2016-02-18T15:41:30Z","updated_at":"2016-02-18T15:41:30Z","html_url":"https://github.com/geany/geany-plugins/pull/352#discussion_r53330997","pull_request_url":"https://api.github.com/repos/geany/geany-plugins/pulls/352","_links":{"self":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/comments/53330997"},"html":{"href":"https://github.com/geany/geany-plugins/pull/352#discussion_r53330997"},"pull_request":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/352"}}},"pull_request":{"url":"https://api.github.com/repos/geany/geany-plugins/pulls/352","id":59814033,"html_url":"https://github.com/geany/geany-plugins/pull/352","diff_url":"https://github.com/geany/geany-plugins/pull/352.diff","patch_url":"https://github.com/geany/geany-plugins/pull/352.patch","issue_url":"https://api.github.com/repos/geany/geany-plugins/issues/352","number":352,"state":"open","locked":false,"title":"Macro plugin compatibility for both gtk2 and gtk3 [Needs Testing]","user":{"login":"sagarchalise","id":174532,"avatar_url":"https://avatars.githubusercontent.com/u/174532?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarchalise","html_url":"https://github.com/sagarchalise","followers_url":"https://api.github.com/users/sagarchalise/followers","following_url":"https://api.github.com/users/sagarchalise/following{/other_user}","gists_url":"https://api.github.com/users/sagarchalise/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarchalise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarchalise/subscriptions","organizations_url":"https://api.github.com/users/sagarchalise/orgs","repos_url":"https://api.github.com/users/sagarchalise/repos","events_url":"https://api.github.com/users/sagarchalise/events{/privacy}","received_events_url":"https://api.github.com/users/sagarchalise/received_events","type":"User","site_admin":false},"body":"This is based on a patch. It builds on gtk3 as well as gtk2 but not thoroughly tested.","created_at":"2016-02-18T15:23:50Z","updated_at":"2016-02-18T15:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47403196c2798b32fccf675869b6554eefeaa1a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geany/geany-plugins/pulls/352/commits","review_comments_url":"https://api.github.com/repos/geany/geany-plugins/pulls/352/comments","review_comment_url":"https://api.github.com/repos/geany/geany-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geany/geany-plugins/issues/352/comments","statuses_url":"https://api.github.com/repos/geany/geany-plugins/statuses/7946dac638d77381c7cd0ad4f7f231bf2007bf58","head":{"label":"sagarchalise:master","ref":"master","sha":"7946dac638d77381c7cd0ad4f7f231bf2007bf58","user":{"login":"sagarchalise","id":174532,"avatar_url":"https://avatars.githubusercontent.com/u/174532?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarchalise","html_url":"https://github.com/sagarchalise","followers_url":"https://api.github.com/users/sagarchalise/followers","following_url":"https://api.github.com/users/sagarchalise/following{/other_user}","gists_url":"https://api.github.com/users/sagarchalise/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarchalise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarchalise/subscriptions","organizations_url":"https://api.github.com/users/sagarchalise/orgs","repos_url":"https://api.github.com/users/sagarchalise/repos","events_url":"https://api.github.com/users/sagarchalise/events{/privacy}","received_events_url":"https://api.github.com/users/sagarchalise/received_events","type":"User","site_admin":false},"repo":{"id":49971710,"name":"geany-plugins","full_name":"sagarchalise/geany-plugins","owner":{"login":"sagarchalise","id":174532,"avatar_url":"https://avatars.githubusercontent.com/u/174532?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarchalise","html_url":"https://github.com/sagarchalise","followers_url":"https://api.github.com/users/sagarchalise/followers","following_url":"https://api.github.com/users/sagarchalise/following{/other_user}","gists_url":"https://api.github.com/users/sagarchalise/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarchalise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarchalise/subscriptions","organizations_url":"https://api.github.com/users/sagarchalise/orgs","repos_url":"https://api.github.com/users/sagarchalise/repos","events_url":"https://api.github.com/users/sagarchalise/events{/privacy}","received_events_url":"https://api.github.com/users/sagarchalise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sagarchalise/geany-plugins","description":"The combined Geany Plugins collection","fork":true,"url":"https://api.github.com/repos/sagarchalise/geany-plugins","forks_url":"https://api.github.com/repos/sagarchalise/geany-plugins/forks","keys_url":"https://api.github.com/repos/sagarchalise/geany-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagarchalise/geany-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagarchalise/geany-plugins/teams","hooks_url":"https://api.github.com/repos/sagarchalise/geany-plugins/hooks","issue_events_url":"https://api.github.com/repos/sagarchalise/geany-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/sagarchalise/geany-plugins/events","assignees_url":"https://api.github.com/repos/sagarchalise/geany-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/sagarchalise/geany-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/sagarchalise/geany-plugins/tags","blobs_url":"https://api.github.com/repos/sagarchalise/geany-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagarchalise/geany-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagarchalise/geany-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagarchalise/geany-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagarchalise/geany-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/sagarchalise/geany-plugins/languages","stargazers_url":"https://api.github.com/repos/sagarchalise/geany-plugins/stargazers","contributors_url":"https://api.github.com/repos/sagarchalise/geany-plugins/contributors","subscribers_url":"https://api.github.com/repos/sagarchalise/geany-plugins/subscribers","subscription_url":"https://api.github.com/repos/sagarchalise/geany-plugins/subscription","commits_url":"https://api.github.com/repos/sagarchalise/geany-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagarchalise/geany-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagarchalise/geany-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagarchalise/geany-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagarchalise/geany-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/sagarchalise/geany-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagarchalise/geany-plugins/merges","archive_url":"https://api.github.com/repos/sagarchalise/geany-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagarchalise/geany-plugins/downloads","issues_url":"https://api.github.com/repos/sagarchalise/geany-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/sagarchalise/geany-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/sagarchalise/geany-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/sagarchalise/geany-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagarchalise/geany-plugins/labels{/name}","releases_url":"https://api.github.com/repos/sagarchalise/geany-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/sagarchalise/geany-plugins/deployments","created_at":"2016-01-19T17:56:25Z","updated_at":"2016-01-19T17:56:28Z","pushed_at":"2016-02-18T15:12:31Z","git_url":"git://github.com/sagarchalise/geany-plugins.git","ssh_url":"git@github.com:sagarchalise/geany-plugins.git","clone_url":"https://github.com/sagarchalise/geany-plugins.git","svn_url":"https://github.com/sagarchalise/geany-plugins","homepage":"http://plugins.geany.org/","size":16758,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"geany:master","ref":"master","sha":"a788c313084614697420be1320ab02c7f9044b2b","user":{"login":"geany","id":1108795,"avatar_url":"https://avatars.githubusercontent.com/u/1108795?v=3","gravatar_id":"","url":"https://api.github.com/users/geany","html_url":"https://github.com/geany","followers_url":"https://api.github.com/users/geany/followers","following_url":"https://api.github.com/users/geany/following{/other_user}","gists_url":"https://api.github.com/users/geany/gists{/gist_id}","starred_url":"https://api.github.com/users/geany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geany/subscriptions","organizations_url":"https://api.github.com/users/geany/orgs","repos_url":"https://api.github.com/users/geany/repos","events_url":"https://api.github.com/users/geany/events{/privacy}","received_events_url":"https://api.github.com/users/geany/received_events","type":"Organization","site_admin":false},"repo":{"id":2597648,"name":"geany-plugins","full_name":"geany/geany-plugins","owner":{"login":"geany","id":1108795,"avatar_url":"https://avatars.githubusercontent.com/u/1108795?v=3","gravatar_id":"","url":"https://api.github.com/users/geany","html_url":"https://github.com/geany","followers_url":"https://api.github.com/users/geany/followers","following_url":"https://api.github.com/users/geany/following{/other_user}","gists_url":"https://api.github.com/users/geany/gists{/gist_id}","starred_url":"https://api.github.com/users/geany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geany/subscriptions","organizations_url":"https://api.github.com/users/geany/orgs","repos_url":"https://api.github.com/users/geany/repos","events_url":"https://api.github.com/users/geany/events{/privacy}","received_events_url":"https://api.github.com/users/geany/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geany/geany-plugins","description":"The combined Geany Plugins collection","fork":false,"url":"https://api.github.com/repos/geany/geany-plugins","forks_url":"https://api.github.com/repos/geany/geany-plugins/forks","keys_url":"https://api.github.com/repos/geany/geany-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geany/geany-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geany/geany-plugins/teams","hooks_url":"https://api.github.com/repos/geany/geany-plugins/hooks","issue_events_url":"https://api.github.com/repos/geany/geany-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/geany/geany-plugins/events","assignees_url":"https://api.github.com/repos/geany/geany-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/geany/geany-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/geany/geany-plugins/tags","blobs_url":"https://api.github.com/repos/geany/geany-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geany/geany-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geany/geany-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/geany/geany-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geany/geany-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/geany/geany-plugins/languages","stargazers_url":"https://api.github.com/repos/geany/geany-plugins/stargazers","contributors_url":"https://api.github.com/repos/geany/geany-plugins/contributors","subscribers_url":"https://api.github.com/repos/geany/geany-plugins/subscribers","subscription_url":"https://api.github.com/repos/geany/geany-plugins/subscription","commits_url":"https://api.github.com/repos/geany/geany-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/geany/geany-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/geany/geany-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/geany/geany-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/geany/geany-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/geany/geany-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geany/geany-plugins/merges","archive_url":"https://api.github.com/repos/geany/geany-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geany/geany-plugins/downloads","issues_url":"https://api.github.com/repos/geany/geany-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/geany/geany-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/geany/geany-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/geany/geany-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geany/geany-plugins/labels{/name}","releases_url":"https://api.github.com/repos/geany/geany-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/geany/geany-plugins/deployments","created_at":"2011-10-18T08:19:26Z","updated_at":"2016-02-16T10:57:21Z","pushed_at":"2016-02-18T15:23:50Z","git_url":"git://github.com/geany/geany-plugins.git","ssh_url":"git@github.com:geany/geany-plugins.git","clone_url":"https://github.com/geany/geany-plugins.git","svn_url":"https://github.com/geany/geany-plugins","homepage":"http://plugins.geany.org/","size":18188,"stargazers_count":214,"watchers_count":214,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":62,"forks":138,"open_issues":62,"watchers":214,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/352"},"html":{"href":"https://github.com/geany/geany-plugins/pull/352"},"issue":{"href":"https://api.github.com/repos/geany/geany-plugins/issues/352"},"comments":{"href":"https://api.github.com/repos/geany/geany-plugins/issues/352/comments"},"review_comments":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/352/comments"},"review_comment":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/352/commits"},"statuses":{"href":"https://api.github.com/repos/geany/geany-plugins/statuses/7946dac638d77381c7cd0ad4f7f231bf2007bf58"}}}}