aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard.h
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.h')
-rw-r--r--addressbook/gui/widgets/e-minicard.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h
index 54c5806a28..dbc914502c 100644
--- a/addressbook/gui/widgets/e-minicard.h
+++ b/addressbook/gui/widgets/e-minicard.h
@@ -76,8 +76,10 @@ struct _EMinicard
guint needs_remodeling : 1;
guint changed : 1;
+
+ guint selected : 1;
- gboolean has_focus;
+ guint has_focus : 1;
double width;
double height;
@@ -87,7 +89,7 @@ struct _EMinicardClass
{
GnomeCanvasGroupClass parent_class;
- void (* resize) (EMinicard *minicard);
+ gint (* selected) (EMinicard *minicard, GdkEvent *event);
};
@@ -95,6 +97,8 @@ GtkType e_minicard_get_type (void);
char *e_minicard_get_card_id (EMinicard *minicard);
int e_minicard_compare (EMinicard *minicard1, EMinicard *minicard2);
+int e_minicard_selected (EMinicard *minicard, GdkEvent *event);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */