Branch: refs/heads/master Author: Matthew Brush mbrush@codebrainz.ca Committer: Matthew Brush mbrush@codebrainz.ca Date: Thu, 18 Dec 2014 01:22:23 UTC Commit: dcc08d72c8d44e95eca30407d6723a4d5bb91350 https://github.com/geany/geany-plugins/commit/dcc08d72c8d44e95eca30407d6723a...
Log Message: ----------- Merge pull request #181 from b4n/markdown/glib-2-24-compat
markdown: Fix build with at least GObject 2.24
Modified Paths: -------------- markdown/src/viewer.c
Modified: markdown/src/viewer.c 5 lines changed, 4 insertions(+), 1 deletions(-) =================================================================== @@ -123,6 +123,7 @@ static void markdown_viewer_class_init(MarkdownViewerClass *klass) { GObjectClass *g_object_class; + guint i;
g_object_class = G_OBJECT_CLASS(klass); g_object_class->set_property = markdown_viewer_set_property; @@ -138,7 +139,9 @@ markdown_viewer_class_init(MarkdownViewerClass *klass) viewer_props[PROP_ENCODING] = g_param_spec_string("encoding", "TextEncoding", "The encoding of the Markdown text", "UTF-8", G_PARAM_READWRITE);
- g_object_class_install_properties(g_object_class, N_PROPERTIES, viewer_props); + for (i = 1 /* skip PROP_0 */; i < N_PROPERTIES; i++) { + g_object_class_install_property(g_object_class, i, viewer_props[i]); + } }
static void
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org