X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-properties-fonts.c;h=d86e106552409d240d4f1e5169f6e89b4db99822;hb=bbc6a0f5736ed843754902eb9a829dd5e173e1ac;hp=ce5109112d2d00d1d1da2b2dc07ce101545a0935;hpb=2ad5c80aafe43d53698e1084db86e34bf15290a9;p=evince.git diff --git a/shell/ev-properties-fonts.c b/shell/ev-properties-fonts.c index ce510911..d86e1065 100644 --- a/shell/ev-properties-fonts.c +++ b/shell/ev-properties-fonts.c @@ -31,12 +31,6 @@ #include #include -enum -{ - FONT_NAME_COL, - NUM_COLS -}; - struct _EvPropertiesFonts { GtkVBox base_instance; @@ -156,7 +150,8 @@ ev_properties_fonts_set_document (EvPropertiesFonts *properties, properties->document = document; - list_store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING); + list_store = gtk_list_store_new (EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS, + G_TYPE_STRING); gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (list_store)); job = ev_job_fonts_new (properties->document);