diff --git a/src/register/register-gnome/gnucash-item-list.c b/src/register/register-gnome/gnucash-item-list.c index 80f5d71089..97e6b19c7b 100644 --- a/src/register/register-gnome/gnucash-item-list.c +++ b/src/register/register-gnome/gnucash-item-list.c @@ -45,7 +45,7 @@ enum LAST_SIGNAL }; -static GtkFrame *gnc_item_list_parent_class; +static GtkEventBoxClass *gnc_item_list_parent_class; static guint gnc_item_list_signals[LAST_SIGNAL]; gboolean _gnc_item_find_selection(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data); @@ -402,7 +402,7 @@ gnc_item_list_get_type (void) }; gnc_item_list_type = - g_type_register_static (GTK_TYPE_FRAME, "GncItemList", + g_type_register_static (GTK_TYPE_EVENT_BOX, "GncItemList", &gnc_item_list_info, 0); } diff --git a/src/register/register-gnome/gnucash-item-list.h b/src/register/register-gnome/gnucash-item-list.h index e8f488753a..1f8a1a3cc3 100644 --- a/src/register/register-gnome/gnucash-item-list.h +++ b/src/register/register-gnome/gnucash-item-list.h @@ -39,7 +39,7 @@ typedef struct { - GtkFrame frame; + GtkEventBox ebox; GtkTreeView *tree_view; GtkListStore *list_store; /* Contains the list items */ @@ -47,7 +47,7 @@ typedef struct typedef struct { - GtkFrameClass parent_class; + GtkEventBoxClass parent_class; void (*select_item) (GncItemList *item_list, char *item_string);