Fix hidden scrollbars for itemlist type popup

This commit is contained in:
Geert Janssens 2017-03-09 23:05:22 +01:00
parent efcb06e6a3
commit 986720e6c3
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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);