Mercurial > pidgin.yaz
comparison pidgin/gtksourceundomanager.h @ 29671:b98519a42e53
propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59)
to branch 'im.pidgin.cpw.attention_ui' (head 152f22112dfd920caedfff2893c8ffd449c1083c)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 02 Mar 2009 22:07:59 +0000 |
parents | 584063555949 |
children | 1a94a964bddf |
comparison
equal
deleted
inserted
replaced
29670:a0668fbf2483 | 29671:b98519a42e53 |
---|---|
2 /* | 2 /* |
3 * gtksourceundomanager.h | 3 * gtksourceundomanager.h |
4 * This file is part of GtkSourceView | 4 * This file is part of GtkSourceView |
5 * | 5 * |
6 * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence | 6 * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence |
7 * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi | 7 * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi |
8 * Copyright (C) 2002, 2003 Paolo Maggi | 8 * Copyright (C) 2002, 2003 Paolo Maggi |
9 * | 9 * |
10 * This program is free software; you can redistribute it and/or modify | 10 * This program is free software; you can redistribute it and/or modify |
11 * it under the terms of the GNU General Public License as published by | 11 * it under the terms of the GNU General Public License as published by |
12 * the Free Software Foundation; either version 2 of the License, or | 12 * the Free Software Foundation; either version 2 of the License, or |
13 * (at your option) any later version. | 13 * (at your option) any later version. |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 * GNU General Public License for more details. | 18 * GNU General Public License for more details. |
19 * | 19 * |
20 * You should have received a copy of the GNU General Public License | 20 * You should have received a copy of the GNU General Public License |
21 * along with this program; if not, write to the Free Software | 21 * along with this program; if not, write to the Free Software |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 * Boston, MA 02111-1301, USA. * * | 23 * Boston, MA 02111-1301, USA. * * |
24 */ | 24 */ |
25 | 25 |
26 #ifndef __GTK_SOURCE_UNDO_MANAGER_H__ | 26 #ifndef __GTK_SOURCE_UNDO_MANAGER_H__ |
27 #define __GTK_SOURCE_UNDO_MANAGER_H__ | 27 #define __GTK_SOURCE_UNDO_MANAGER_H__ |
28 | 28 |
29 #include <gtk/gtktextbuffer.h> | 29 #include <gtk/gtktextbuffer.h> |
30 | 30 |
42 typedef struct _GtkSourceUndoManagerPrivate GtkSourceUndoManagerPrivate; | 42 typedef struct _GtkSourceUndoManagerPrivate GtkSourceUndoManagerPrivate; |
43 | 43 |
44 struct _GtkSourceUndoManager | 44 struct _GtkSourceUndoManager |
45 { | 45 { |
46 GObject base; | 46 GObject base; |
47 | 47 |
48 GtkSourceUndoManagerPrivate *priv; | 48 GtkSourceUndoManagerPrivate *priv; |
49 }; | 49 }; |
50 | 50 |
51 struct _GtkSourceUndoManagerClass | 51 struct _GtkSourceUndoManagerClass |
52 { | 52 { |
65 gboolean gtk_source_undo_manager_can_redo (const GtkSourceUndoManager *um); | 65 gboolean gtk_source_undo_manager_can_redo (const GtkSourceUndoManager *um); |
66 | 66 |
67 void gtk_source_undo_manager_undo (GtkSourceUndoManager *um); | 67 void gtk_source_undo_manager_undo (GtkSourceUndoManager *um); |
68 void gtk_source_undo_manager_redo (GtkSourceUndoManager *um); | 68 void gtk_source_undo_manager_redo (GtkSourceUndoManager *um); |
69 | 69 |
70 void gtk_source_undo_manager_begin_not_undoable_action | 70 void gtk_source_undo_manager_begin_not_undoable_action |
71 (GtkSourceUndoManager *um); | 71 (GtkSourceUndoManager *um); |
72 void gtk_source_undo_manager_end_not_undoable_action | 72 void gtk_source_undo_manager_end_not_undoable_action |
73 (GtkSourceUndoManager *um); | 73 (GtkSourceUndoManager *um); |
74 | 74 |
75 gint gtk_source_undo_manager_get_max_undo_levels | 75 gint gtk_source_undo_manager_get_max_undo_levels |
76 (GtkSourceUndoManager *um); | 76 (GtkSourceUndoManager *um); |
77 void gtk_source_undo_manager_set_max_undo_levels | 77 void gtk_source_undo_manager_set_max_undo_levels |
78 (GtkSourceUndoManager *um, | 78 (GtkSourceUndoManager *um, |
79 gint undo_levels); | 79 gint undo_levels); |
80 | 80 |
81 #endif /* __GTK_SOURCE_UNDO_MANAGER_H__ */ | 81 #endif /* __GTK_SOURCE_UNDO_MANAGER_H__ */ |
82 | 82 |