X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Feggfindbar.h;h=4b8c537f0e52a8658e2cb9bc99fb57b1638af40b;hb=3f9b326b1e7351aeb08dc70ab78f4fcfda167318;hp=217a180f94c086607efb63b900b88be2775bbeb9;hpb=1f7e03f2861f4b8d2bb75bd220754b7a89b7847e;p=evince.git diff --git a/shell/eggfindbar.h b/shell/eggfindbar.h index 217a180f..4b8c537f 100644 --- a/shell/eggfindbar.h +++ b/shell/eggfindbar.h @@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA. #ifndef __EGG_FIND_BAR_H__ #define __EGG_FIND_BAR_H__ -#include +#include G_BEGIN_DECLS @@ -32,18 +32,24 @@ G_BEGIN_DECLS typedef struct _EggFindBar EggFindBar; typedef struct _EggFindBarClass EggFindBarClass; +typedef struct _EggFindBarPrivate EggFindBarPrivate; struct _EggFindBar { - GtkBin parent_instance; + GtkToolbar parent; /*< private >*/ - gpointer private_data; + EggFindBarPrivate *priv; }; 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); @@ -65,8 +71,6 @@ 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); -void egg_find_bar_grab_focus (EggFindBar *find_bar); - void egg_find_bar_set_status_text (EggFindBar *find_bar, const char *text);