From 1133f4bb67226d6de5cfec6af6893e061878442b Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 19 Aug 2009 10:45:40 +0000 Subject: [libmisc] Move EvPageActionWidget implementation to its own class For some reason it was implemented in EvPageAction class. It includes also some minor improvements and cleanups. --- (limited to 'libmisc/ev-page-action-widget.h') diff --git a/libmisc/ev-page-action-widget.h b/libmisc/ev-page-action-widget.h index 5583d6a..066cf5c 100644 --- a/libmisc/ev-page-action-widget.h +++ b/libmisc/ev-page-action-widget.h @@ -28,18 +28,6 @@ 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); -- cgit v0.9.1