summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 20:49:55 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 20:49:55 +0000
commit10df84a14e6ce6d40ddd55a2d24442b6d9dc5dd4 (patch)
tree825eec418d2527357b371c98504c5d406d5fad0a /src/util.h
parent2315e34e6dbb8f88c12200c4ac37b1e168b323f7 (diff)
plug the new dialog into filenames received from libunique, fix minor memory leak on the filenames passed.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 73938b5..4da70fb 100644
--- a/src/util.h
+++ b/src/util.h
@@ -22,6 +22,7 @@
#ifndef UTIL_H_
#define UTIL_H_
+#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
#include <glib-object.h>
#include <json-glib/json-glib.h>
@@ -45,8 +46,7 @@ gboolean gconf_client_get_bool_or_true(GConfClient * gconf, gchar * key);
void response_unref(JsonObject * response);
const gchar *make_error_message(JsonObject * response, int status);
-void trg_error_dialog(GtkWindow * parent, int status,
- JsonObject * response);
+void trg_error_dialog(GtkWindow * parent, int status, JsonObject * response);
char *tr_strltime_long(char *buf, gint64 seconds, size_t buflen);
char *tr_strltime_short(char *buf, gint64 seconds, size_t buflen);