]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/evinfobar/evinfobar.c
Use EvPage instead of page index to get links
[evince.git] / cut-n-paste / evinfobar / evinfobar.c
index 82307503dcbd1ecf53b42eff489c79a4efcb735c..e94aaecffb77480599775d93d583e8d8360ce738 100644 (file)
@@ -32,6 +32,7 @@
 #include "config.h"
 
 #include <stdlib.h>
 #include "config.h"
 
 #include <stdlib.h>
+#include <string.h>
 
 #include "evinfobar.h"
 
 
 #include "evinfobar.h"
 
@@ -885,7 +886,7 @@ ev_info_bar_new_with_buttons (const gchar *first_button_text,
   EvInfoBar *info_bar;
   va_list args;
 
   EvInfoBar *info_bar;
   va_list args;
 
-  info_bar = EV_INFO_BAR (gtk_info_bar_new ());
+  info_bar = EV_INFO_BAR (ev_info_bar_new ());
 
   va_start (args, first_button_text);
   add_buttons_valist (info_bar, first_button_text, args);
 
   va_start (args, first_button_text);
   add_buttons_valist (info_bar, first_button_text, args);