]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcssinitialvalue.c
texthandle: Set a bigger input shape, covering the line height
[~andy/gtk] / gtk / gtkcssinitialvalue.c
index b70b7941122cd8e6ff9f5749c968253c798075e6..427044d57466f9eeed0f5dc13b1e437a74b18b6c 100644 (file)
@@ -73,31 +73,6 @@ gtk_css_value_initial_compute (GtkCssValue             *value,
         }
       break;
 
-    case GTK_CSS_PROPERTY_FONT_SIZE:
-      settings = _gtk_style_provider_private_get_settings (provider);
-      if (settings)
-        {
-          PangoFontDescription *description;
-          char *font_name;
-          GtkCssValue *value;
-
-          g_object_get (settings, "gtk-font-name", &font_name, NULL);
-          description = pango_font_description_from_string (font_name);
-          g_free (font_name);
-          if (description == NULL)
-            break;
-
-          if (pango_font_description_get_set_fields (description) & PANGO_FONT_MASK_SIZE)
-            {
-              value = _gtk_css_number_value_new ((double) pango_font_description_get_size (description) / PANGO_SCALE, GTK_CSS_PX);
-              pango_font_description_free (description);
-              return value;
-            }
-          pango_font_description_free (description);
-        }
-      break;
-
     default:
       break;
     }