]> www.fi.muni.cz Git - evince.git/blobdiff - shell/eggfindbar.h
Added missing bug number to ChangeLog.
[evince.git] / shell / eggfindbar.h
index 0ac665ad5ed6c3e5565fd946acdd28568b1bfbea..eef556154f6b78a92320df4a673b72f2e0e9d3f2 100644 (file)
@@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA.
 #ifndef __EGG_FIND_BAR_H__
 #define __EGG_FIND_BAR_H__
 
 #ifndef __EGG_FIND_BAR_H__
 #define __EGG_FIND_BAR_H__
 
-#include <gtk/gtkbin.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
 
 G_BEGIN_DECLS
 
@@ -32,18 +32,24 @@ G_BEGIN_DECLS
 
 typedef struct _EggFindBar        EggFindBar;
 typedef struct _EggFindBarClass   EggFindBarClass;
 
 typedef struct _EggFindBar        EggFindBar;
 typedef struct _EggFindBarClass   EggFindBarClass;
+typedef struct _EggFindBarPrivate EggFindBarPrivate;
 
 struct _EggFindBar
 {
 
 struct _EggFindBar
 {
-  GtkBin parent_instance;
+  GtkToolbar parent;
 
   /*< private >*/
 
   /*< private >*/
-  gpointer private_data;
+  EggFindBarPrivate *priv;
 };
 
 struct _EggFindBarClass
 {
 };
 
 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);
 
   /* Padding for future expansion */
   void (*_gtk_reserved1) (void);
@@ -65,7 +71,8 @@ void        egg_find_bar_get_all_matches_color   (EggFindBar *find_bar,
                                                   GdkColor   *color);
 void        egg_find_bar_get_current_match_color (EggFindBar *find_bar,
                                                   GdkColor   *color);
                                                   GdkColor   *color);
 void        egg_find_bar_get_current_match_color (EggFindBar *find_bar,
                                                   GdkColor   *color);
-void        egg_find_bar_grab_focus              (EggFindBar *find_bar);
+void        egg_find_bar_set_status_text         (EggFindBar *find_bar,
+                                                  const char *text);
 
 G_END_DECLS
 
 
 G_END_DECLS