[geany/geany] 926744: Don't use pre-GObject types and macros
Colomban Wendling
git-noreply at xxxxx
Thu Sep 13 14:34:18 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Thu, 13 Sep 2012 14:34:18
Commit: 926744b4b735c88ad449ce419f9ebee4442a1802
https://github.com/geany/geany/commit/926744b4b735c88ad449ce419f9ebee4442a1802
Log Message:
-----------
Don't use pre-GObject types and macros
Modified Paths:
--------------
src/vte.c
Modified: src/vte.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -72,7 +72,7 @@ struct _VteTerminal
GtkAdjustment *adjustment;
};
-#define VTE_TERMINAL(obj) (GTK_CHECK_CAST((obj), VTE_TYPE_TERMINAL, VteTerminal))
+#define VTE_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VTE_TYPE_TERMINAL, VteTerminal))
#define VTE_TYPE_TERMINAL (vf->vte_terminal_get_type())
typedef enum {
@@ -93,7 +93,7 @@ struct VteFunctions
void (*vte_terminal_set_word_chars) (VteTerminal *terminal, const char *spec);
void (*vte_terminal_set_mouse_autohide) (VteTerminal *terminal, gboolean setting);
void (*vte_terminal_reset) (VteTerminal *terminal, gboolean full, gboolean clear_history);
- GtkType (*vte_terminal_get_type) (void);
+ GType (*vte_terminal_get_type) (void);
void (*vte_terminal_set_scroll_on_output) (VteTerminal *terminal, gboolean scroll);
void (*vte_terminal_set_scroll_on_keystroke) (VteTerminal *terminal, gboolean scroll);
void (*vte_terminal_set_font_from_string) (VteTerminal *terminal, const char *name);
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list