]> www.fi.muni.cz Git - evince.git/blobdiff - shell/eggfindbar.h
Don't use libgnome to lookup icons for MIME types, instead copy code from
[evince.git] / shell / eggfindbar.h
index 49e2b9d34f0d8ad8bfdc07bd61cdbda420c78de3..4b8c537f0e52a8658e2cb9bc99fb57b1638af40b 100644 (file)
@@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA.
 #ifndef __EGG_FIND_BAR_H__
 #define __EGG_FIND_BAR_H__
 
-#include <gtk/gtkbin.h>
+#include <gtk/gtktoolbar.h>
 
 G_BEGIN_DECLS
 
@@ -36,7 +36,7 @@ typedef struct _EggFindBarPrivate EggFindBarPrivate;
 
 struct _EggFindBar
 {
-  GtkBin parent_instance;
+  GtkToolbar parent;
 
   /*< private >*/
   EggFindBarPrivate *priv;
@@ -44,11 +44,12 @@ struct _EggFindBar
 
 struct _EggFindBarClass
 {
-  GtkBinClass parent_class;
+  GtkToolbarClass parent_class;
 
   void (* next)            (EggFindBar *find_bar);
   void (* previous) (EggFindBar *find_bar);
   void (* close)    (EggFindBar *find_bar);
+  void (* scroll)   (EggFindBar *find_bar, GtkScrollType* scroll);
 
   /* Padding for future expansion */
   void (*_gtk_reserved1) (void);