vte r2194 - in trunk: . src



Author: chpe
Date: Wed Nov 26 13:43:20 2008
New Revision: 2194
URL: http://svn.gnome.org/viewvc/vte?rev=2194&view=rev

Log:
	Bug 561366 â remove antialias setting for 1.0

	* src/vte.c: (vte_terminal_set_font_full),
	(vte_terminal_get_property), (vte_terminal_class_init):
	* src/vte.h: Deprecate the font antialias setting, and remove the
	(existing only on trunk) font-antialias property already.

Modified:
   trunk/ChangeLog
   trunk/src/vte.c
   trunk/src/vte.h

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Wed Nov 26 13:43:20 2008
@@ -7275,6 +7275,8 @@
  * and columns.
  *
  * Since: 0.11.11
+ * 
+ * Deprecated: 0.17.5
  */
 void
 vte_terminal_set_font_full(VteTerminal *terminal,
@@ -7331,8 +7333,6 @@
 
         if (!same_desc)
                 g_object_notify(object, "font");
-        if (!same_antialias)
-                g_object_notify(object, "font-antialias");
 
 	/* Set the drawing font. */
 	if (GTK_WIDGET_REALIZED(terminal)) {
@@ -7373,6 +7373,8 @@
  * passes it to vte_terminal_set_font_full().
  *
  * Since: 0.11.11
+ *
+ * Deprecated: 0.17.5
  */
 void
 vte_terminal_set_font_from_string_full(VteTerminal *terminal, const char *name,
@@ -10982,9 +10984,6 @@
                 case PROP_FONT:
                         g_value_set_boxed (value, vte_terminal_get_font (terminal));
                         break;
-                case PROP_FONT_ANTIALIAS:
-                        g_value_set_enum (value, pvt->fontantialias);
-                        break;
                 case PROP_ICON_TITLE:
                         g_value_set_string (value, vte_terminal_get_icon_title (terminal));
                         break;
@@ -11780,21 +11779,6 @@
                                      G_PARAM_READWRITE | STATIC_PARAMS));
      
         /**
-         * VteTerminal:font-antialias:
-         *
-         * Specifies the antialias to apply to the font set with #VteTerminal:font:.
-         * 
-         * Since: 0.17.5
-         */
-        g_object_class_install_property
-                (gobject_class,
-                 PROP_FONT_ANTIALIAS,
-                 g_param_spec_enum ("font-antialias", NULL, NULL,
-                                    VTE_TYPE_TERMINAL_ANTI_ALIAS,
-                                    VTE_ANTI_ALIAS_USE_DEFAULT,
-                                    G_PARAM_READWRITE | STATIC_PARAMS));
-     
-        /**
          * VteTerminal:icon-title:
          *
          * The terminal's so-called icon title, or %NULL if no icon title has been set.

Modified: trunk/src/vte.h
==============================================================================
--- trunk/src/vte.h	(original)
+++ trunk/src/vte.h	Wed Nov 26 13:43:20 2008
@@ -161,13 +161,6 @@
 	VTE_ERASE_DELETE_SEQUENCE
 } VteTerminalEraseBinding;
 
-/* Values for the anti alias setting */
-typedef enum {
-	VTE_ANTI_ALIAS_USE_DEFAULT,
-	VTE_ANTI_ALIAS_FORCE_ENABLE,
-	VTE_ANTI_ALIAS_FORCE_DISABLE
-} VteTerminalAntiAlias;
-
 /* Values for the cursor blink setting */
 typedef enum {
         VTE_CURSOR_BLINK_SYSTEM,
@@ -312,13 +305,7 @@
 /* Set or retrieve the current font. */
 void vte_terminal_set_font(VteTerminal *terminal,
 			   const PangoFontDescription *font_desc);
-void vte_terminal_set_font_full(VteTerminal *terminal,
-				const PangoFontDescription *font_desc,
-				VteTerminalAntiAlias antialias);
 void vte_terminal_set_font_from_string(VteTerminal *terminal, const char *name);
-void vte_terminal_set_font_from_string_full(VteTerminal *terminal,
-					    const char *name,
-					    VteTerminalAntiAlias antialias);
 const PangoFontDescription *vte_terminal_get_font(VteTerminal *terminal);
 void vte_terminal_set_allow_bold(VteTerminal *terminal, gboolean allow_bold);
 gboolean vte_terminal_get_allow_bold(VteTerminal *terminal);
@@ -436,12 +423,25 @@
 #define VTE_IS_TERMINAL_ERASE_BINDING(obj)  (FALSE)
 #define VTE_IS_TERMINAL_ANTI_ALIAS(obj)     (FALSE)
 
+/* Values for the anti alias setting */
+typedef enum {
+	VTE_ANTI_ALIAS_USE_DEFAULT,
+	VTE_ANTI_ALIAS_FORCE_ENABLE,
+	VTE_ANTI_ALIAS_FORCE_DISABLE
+} VteTerminalAntiAlias;
+
 void vte_terminal_set_cursor_blinks(VteTerminal *terminal,
 				    gboolean blink) G_GNUC_DEPRECATED;
 gboolean vte_terminal_get_using_xft(VteTerminal *terminal) G_GNUC_DEPRECATED;
 int vte_terminal_match_add(VteTerminal *terminal, const char *match) G_GNUC_DEPRECATED;
 glong vte_terminal_get_char_descent(VteTerminal *terminal) G_GNUC_DEPRECATED;
 glong vte_terminal_get_char_ascent(VteTerminal *terminal) G_GNUC_DEPRECATED;
+void vte_terminal_set_font_full(VteTerminal *terminal,
+				const PangoFontDescription *font_desc,
+				VteTerminalAntiAlias antialias) G_GNUC_DEPRECATED;
+void vte_terminal_set_font_from_string_full(VteTerminal *terminal,
+					    const char *name,
+					    VteTerminalAntiAlias antialias) G_GNUC_DEPRECATED;
 
 #endif /* VTE_DISABLE_DEPRECATED */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]