]> www.fi.muni.cz Git - evince.git/blobdiff - libmisc/ev-page-action-widget.h
[libmisc] Move EvPageActionWidget implementation to its own class
[evince.git] / libmisc / ev-page-action-widget.h
index 5583d6a4f3dd3fe3b130e856d4d9f8a7eb96621a..066cf5c3af4826b8edcf988e697d6fab3db0b56e 100644 (file)
 typedef struct _EvPageActionWidget EvPageActionWidget;
 typedef struct _EvPageActionWidgetClass EvPageActionWidgetClass;
 
-struct _EvPageActionWidget
-{
-       GtkToolItem parent;
-
-       GtkWidget *entry;
-       GtkWidget *label;
-       EvPageCache *page_cache;
-       guint signal_id;
-       GtkTreeModel *filter_model;
-       GtkTreeModel *model;
-};
-
 struct _EvPageActionWidgetClass
 {
        GtkToolItemClass parent_class;
@@ -48,11 +36,11 @@ struct _EvPageActionWidgetClass
                                EvLink             *link);
 };
 
-GType ev_page_action_widget_get_type   (void);
+GType ev_page_action_widget_get_type      (void) G_GNUC_CONST;
 
-void
-ev_page_action_widget_update_model (EvPageActionWidget *proxy, GtkTreeModel *model);
+void ev_page_action_widget_update_model   (EvPageActionWidget *proxy,
+                                          GtkTreeModel       *model);
 
-void
-ev_page_action_widget_set_page_cache (EvPageActionWidget *action_widget,
-                                     EvPageCache        *page_cache);
+void ev_page_action_widget_set_page_cache (EvPageActionWidget *action_widget,
+                                          EvPageCache        *page_cache);
+void ev_page_action_widget_grab_focus     (EvPageActionWidget *proxy);