kugel- commented on this pull request.


> @@ -98,6 +98,26 @@ G_BEGIN_DECLS
 #endif
 
 
+#if !GTK_CHECK_VERSION(3, 4, 0)
+static inline guint gtkcompat_builder_add_from_resource(GtkBuilder *builder,
+       const gchar *resource_path, GError **error)
+{
+       GBytes *bytes = g_resources_lookup_data(resource_path,
+               G_RESOURCE_LOOKUP_FLAGS_NONE, error);
+       if (bytes == NULL)

Right, makes sense.

-- 
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/pull/1703#discussion_r163489539

Reply via email to