From ef73a89139abdd7f4a7dedf47edaf80d7ff8298a Mon Sep 17 00:00:00 2001 From: TingPing Date: Thu, 26 Sep 2013 22:30:19 -0400 Subject: Remove XFT, SHM, and MMX --- src/fe-gtk/xtext.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/fe-gtk/xtext.h') diff --git a/src/fe-gtk/xtext.h b/src/fe-gtk/xtext.h index 32e26af6..a6027398 100644 --- a/src/fe-gtk/xtext.h +++ b/src/fe-gtk/xtext.h @@ -21,16 +21,6 @@ #define HEXCHAT_XTEXT_H #include -#ifdef USE_XFT -#include -#endif - -#ifdef USE_SHM -#include -#include -#include -#include -#endif #define GTK_TYPE_XTEXT (gtk_xtext_get_type ()) #define GTK_XTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_XTEXT, GtkXText)) @@ -132,10 +122,6 @@ struct _GtkXText xtext_buffer *orig_buffer; xtext_buffer *selection_buffer; -#ifdef USE_SHM - XShmSegmentInfo shminfo; -#endif - GtkAdjustment *adj; GdkPixmap *pixmap; /* 0 = use palette[19] */ GdkDrawable *draw_buf; /* points to ->window */ @@ -188,14 +174,6 @@ struct _GtkXText guint16 fontwidth[128]; /* each char's width, only the ASCII ones */ -#ifdef USE_XFT - XftColor color[XTEXT_COLS]; - XftColor *xft_fg; - XftColor *xft_bg; /* both point into color[20] */ - XftDraw *xftdraw; - XftFont *font; - XftFont *ifont; /* italics */ -#else struct pangofont { PangoFontDescription *font; @@ -204,7 +182,6 @@ struct _GtkXText int descent; } *font, pango_font; PangoLayout *layout; -#endif int fontsize; int space_width; /* width (pixels) of the space " " character */ @@ -258,7 +235,6 @@ struct _GtkXText unsigned int recycle:1; unsigned int avoid_trans:1; unsigned int force_render:1; - unsigned int shm:1; unsigned int color_paste:1; /* CTRL was pressed when selection finished */ /* settings/prefs */ -- cgit 1.4.1