Made _moo_history_list_load private
This commit is contained in:
parent
d87138c56e
commit
b6bd1f0175
@ -448,7 +448,7 @@ moo_history_list_add_full (MooHistoryList *list,
|
|||||||
if (!list->priv->allow_empty && !entry[0])
|
if (!list->priv->allow_empty && !entry[0])
|
||||||
return;
|
return;
|
||||||
|
|
||||||
moo_history_list_load (list);
|
_moo_history_list_load (list);
|
||||||
|
|
||||||
if (list_find_item (list, entry, &iter))
|
if (list_find_item (list, entry, &iter))
|
||||||
{
|
{
|
||||||
@ -503,7 +503,7 @@ moo_history_list_get_last_item (MooHistoryList *list)
|
|||||||
|
|
||||||
g_return_val_if_fail (MOO_IS_HISTORY_LIST (list), NULL);
|
g_return_val_if_fail (MOO_IS_HISTORY_LIST (list), NULL);
|
||||||
|
|
||||||
moo_history_list_load (list);
|
_moo_history_list_load (list);
|
||||||
|
|
||||||
if (!gtk_tree_model_iter_children (list->priv->model, &iter, NULL))
|
if (!gtk_tree_model_iter_children (list->priv->model, &iter, NULL))
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -709,7 +709,7 @@ MooMenuMgr*
|
|||||||
moo_history_list_get_menu_mgr (MooHistoryList *list)
|
moo_history_list_get_menu_mgr (MooHistoryList *list)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (MOO_IS_HISTORY_LIST (list), NULL);
|
g_return_val_if_fail (MOO_IS_HISTORY_LIST (list), NULL);
|
||||||
moo_history_list_load (list);
|
_moo_history_list_load (list);
|
||||||
return list->priv->mgr;
|
return list->priv->mgr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -820,7 +820,7 @@ _list_delete_last (MooHistoryList *list)
|
|||||||
/* TODO: this all is broken with non-utf8 text */
|
/* TODO: this all is broken with non-utf8 text */
|
||||||
|
|
||||||
void
|
void
|
||||||
moo_history_list_load (MooHistoryList *list)
|
_moo_history_list_load (MooHistoryList *list)
|
||||||
{
|
{
|
||||||
MooMarkupDoc *xml;
|
MooMarkupDoc *xml;
|
||||||
MooMarkupNode *root, *node;
|
MooMarkupNode *root, *node;
|
||||||
|
@ -105,7 +105,7 @@ guint moo_history_list_get_max_entries (MooHistoryList *list);
|
|||||||
void moo_history_list_set_max_entries (MooHistoryList *list,
|
void moo_history_list_set_max_entries (MooHistoryList *list,
|
||||||
guint num);
|
guint num);
|
||||||
|
|
||||||
void moo_history_list_load (MooHistoryList *list);
|
void _moo_history_list_load (MooHistoryList *list);
|
||||||
|
|
||||||
void moo_history_list_add_builtin (MooHistoryList *list,
|
void moo_history_list_add_builtin (MooHistoryList *list,
|
||||||
const char *item,
|
const char *item,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user