summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-19 08:58:55 +0100
committerraveit65 <[email protected]>2019-02-19 12:30:56 +0100
commitc9eb7cba9796105a4a5196ed7ef5b1ec1f2df27b (patch)
treea8bbeee9bf88e09f4b6e6ea48551debf13d220bb /src/gtk-utils.c
parent5ceee4ccc6d317dabc7fd9c8e56e5c76be955297 (diff)
downloadengrampa-c9eb7cba9796105a4a5196ed7ef5b1ec1f2df27b.tar.bz2
engrampa-c9eb7cba9796105a4a5196ed7ef5b1ec1f2df27b.tar.xz
Read authors (updated) from engrampa.about gresource
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 533a335..b8e3263 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -22,11 +22,11 @@
#include <config.h>
#include <string.h>
+#include <glib.h>
#include <gtk/gtk.h>
#include "gtk-utils.h"
#define LOAD_BUFFER_SIZE 65536
-#define ENGRAMPA_RESOURCE_UI_PATH "/org/mate/Engrampa/ui/"
static void
count_selected (GtkTreeModel *model,
@@ -783,7 +783,7 @@ _gtk_builder_new_from_resource (const char *resource_path)
GError *error = NULL;
builder = gtk_builder_new ();
- full_path = g_strconcat (ENGRAMPA_RESOURCE_UI_PATH, resource_path, NULL);
+ full_path = g_strconcat (ENGRAMPA_RESOURCE_UI_PATH G_DIR_SEPARATOR_S, resource_path, NULL);
if (! gtk_builder_add_from_resource (builder, full_path, &error)) {
g_warning ("%s\n", error->message);
g_clear_error (&error);