[Github-comments] [geany/geany-plugins] 'Debugger' plugin port to GTK3 with GTK2 compatibility (#791)

Benjamin Gaillard notifications at xxxxx
Mon Nov 26 15:10:26 UTC 2018


bxgaillard commented on this pull request.



> @@ -1066,7 +1105,13 @@ void debug_init(void)
 	configfile = g_strconcat(geany_data->app->configdir, G_DIR_SEPARATOR_S, "geany.conf", NULL);
 	g_key_file_load_from_file(config, configfile, G_KEY_FILE_NONE, NULL);
 	font = utils_get_setting_string(config, "VTE", "font", "Monospace 10");
+#if GTK_CHECK_VERSION(3, 0, 0)
+	fontdesc = pango_font_description_from_string(font);
+	vte_terminal_set_font(VTE_TERMINAL(terminal), fontdesc);
+	pango_font_description_free(fontdesc);
+#else

I used the common utils library, thanks for the suggestion.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/791#discussion_r236291906
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181126/5e8eae55/attachment.html>


More information about the Github-comments mailing list