Skip to content
Browse files

Don't use pre-GObject types and macros

  • Loading branch information...
1 parent 8b181f7 commit 926744b4b735c88ad449ce419f9ebee4442a1802 @b4n b4n committed Sep 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vte.c
4 src/vte.c
@@ -72,7 +72,7 @@ struct _VteTerminal
GtkAdjustment *adjustment;
-#define VTE_TERMINAL(obj) (GTK_CHECK_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);

0 comments on commit 926744b

Please sign in to comment.
Something went wrong with that request. Please try again.