[vte/vte-0-34] Move definition of VteCharAttributes up, #676999
- From: Simon Schampijer <sischam src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-34] Move definition of VteCharAttributes up, #676999
- Date: Wed, 28 Nov 2012 20:16:26 +0000 (UTC)
commit 2ba27999b537300f4beb92ca27830fbd4197740e
Author: Simon Schampijer <simon laptop org>
Date: Wed Nov 28 21:14:59 2012 +0100
Move definition of VteCharAttributes up, #676999
I found the element-type for the attributes in vte_terminal_get_text
vte_terminal_get_text_include_trailing_spaces and vte_terminal_get_text_range
strange to be of type "Vte.CharAttributes" and not VteCharAttributes but when I
changed it I only got a warning. Then I saw that there was already a warning
about "Unknown namespace for identifier 'vte_char_attributes'", so I moved the
definition of VteCharAttributes and now those functions are introspectable.
src/vte.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.h b/src/vte.h
index ed3fafe..35fb0f4 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -57,6 +57,7 @@ typedef struct _VteTerminal VteTerminal;
typedef struct _VteTerminalPrivate VteTerminalPrivate;
typedef struct _VteTerminalClass VteTerminalClass;
typedef struct _VteTerminalClassPrivate VteTerminalClassPrivate;
+typedef struct _VteCharAttributes VteCharAttributes;
/**
* VteTerminal:
@@ -242,7 +243,6 @@ struct _VteCharAttributes {
GdkColor fore, back;
guint underline:1, strikethrough:1;
};
-typedef struct _VteCharAttributes VteCharAttributes;
/* The name of the same structure in the 0.10 series, for API compatibility. */
struct vte_char_attributes {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]