{"id":14,"date":"2006-07-19T08:55:18","date_gmt":"2006-07-19T07:55:18","guid":{"rendered":"http:\/\/blogs.igalia.com\/itoral\/?p=14"},"modified":"2006-07-19T08:55:18","modified_gmt":"2006-07-19T07:55:18","slug":"gedit-and-d-bus-prototype-ii","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/itoral\/2006\/07\/19\/gedit-and-d-bus-prototype-ii\/","title":{"rendered":"Gedit and D-Bus prototype II"},"content":{"rendered":"<p>We have made some improvements and fixes to the first prototype:<\/p>\n<ul>\n<li>Disabled metadata writing when bus is down to avoid having several Gedit processes writing to it at the same time.<\/li>\n<li>Avoided application shutdown when bus shuts down.<\/li>\n<li>Fixed indentation and naming.<\/li>\n<li>Tested provided D-Bus service with a client outside Gedit.<\/li>\n<li>Implementation of GeditDbus GObject as a single instance.<\/li>\n<li>Provide a hash table to this interface to make it more extensible without breaking compatibility.<\/li>\n<li>Some other minor fixes&#8230;<\/li>\n<\/ul>\n<p>Sent a patch to <a href=\"http:\/\/www.advogato.org\/person\/pbor\/\">Paolo Borrelli<\/a>, who suggested:<\/p>\n<ul>\n<li>Avoid using &#8220;_&#8221; as prefix for static methods.<\/li>\n<li>Use G_DEFINE_TYPE to define the GeditDbus GObject type.<\/li>\n<\/ul>\n<p>Besides, he pointed out that Vytas is working on a <a href=\"http:\/\/live.gnome.org\/SingleInstanceApps\">single-application instance framework for Gnome<\/a>. I&#8217;ll take a look at it to check if it could be useful for Gedit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have made some improvements and fixes to the first prototype: Disabled metadata writing when bus is down to avoid having several Gedit processes writing to it at the same time. Avoided application shutdown when bus shuts down. Fixed indentation and naming. Tested provided D-Bus service with a client outside Gedit. Implementation of GeditDbus GObject &hellip; <a href=\"https:\/\/blogs.igalia.com\/itoral\/2006\/07\/19\/gedit-and-d-bus-prototype-ii\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Gedit and D-Bus prototype II&#8221;<\/span><\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}