summaryrefslogtreecommitdiff
path: root/gtk/theme.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-05-17 16:48:20 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-05-17 16:48:20 +0000
commit8ffc6439a75f54ed77aa770c464297c80cedb195 (patch)
tree7d6aa7eae51985dedd4180fe4ba296e3b2bb7114 /gtk/theme.c
parent2622adaa1fd3a6f24ed3ba527ee132148fd25beb (diff)
downloadnetsurf-8ffc6439a75f54ed77aa770c464297c80cedb195.tar.gz
netsurf-8ffc6439a75f54ed77aa770c464297c80cedb195.tar.bz2
fix build on gtk 2.12
svn path=/trunk/netsurf/; revision=13927
Diffstat (limited to 'gtk/theme.c')
-rw-r--r--gtk/theme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/theme.c b/gtk/theme.c
index a8c33225c..f16bd2d11 100644
--- a/gtk/theme.c
+++ b/gtk/theme.c
@@ -18,12 +18,14 @@
#include <gtk/gtk.h>
#include <stdio.h>
+#include <stdint.h>
#include <sys/stat.h>
#include <unistd.h>
#include "content/content.h"
#include "content/content_type.h"
#include "content/hlcache.h"
+#include "gtk/compat.h"
#include "gtk/gui.h"
#include "gtk/scaffolding.h"
#include "gtk/menu.h"
@@ -254,7 +256,7 @@ void nsgtk_theme_add(const char *themename)
}
g_signal_connect_swapped(notification, "response",
G_CALLBACK(gtk_widget_destroy), notification);
- gtk_container_add(GTK_CONTAINER(gtk_dialog_get_action_area(GTK_DIALOG(notification))), label);
+ gtk_container_add(GTK_CONTAINER(nsgtk_dialog_get_action_area(GTK_DIALOG(notification))), label);
gtk_widget_show_all(notification);
/* update combo */