moo_edit_window_close()

This commit is contained in:
Yevgen Muntyan 2011-01-21 21:36:49 -08:00
parent a9fe1c0c41
commit 3f2ea3016e
2 changed files with 11 additions and 0 deletions

View File

@ -1228,6 +1228,16 @@ _moo_edit_window_update_title (void)
}
/**
* moo_edit_window_close:
*/
gboolean
moo_edit_window_close (MooEditWindow *window)
{
g_return_val_if_fail (MOO_IS_EDIT_WINDOW (window), FALSE);
return moo_editor_close_window (moo_edit_window_get_editor (window), window);
}
/**
* moo_edit_window_close_all:
*/

View File

@ -75,6 +75,7 @@ MOO_DECLARE_ATOM_GLOBAL (MOO_EDIT_TAB, moo_edit_tab)
GType moo_edit_tab_get_type (void) G_GNUC_CONST;
GType moo_edit_window_get_type (void) G_GNUC_CONST;
gboolean moo_edit_window_close (MooEditWindow *window);
gboolean moo_edit_window_close_all (MooEditWindow *window);
typedef gboolean (*MooActionCheckFunc) (GtkAction *action,