diff options
Diffstat (limited to 'src/libcroco')
| -rw-r--r-- | src/libcroco/cr-num.c | 4 | ||||
| -rw-r--r-- | src/libcroco/cr-parser.c | 2 | ||||
| -rw-r--r-- | src/libcroco/cr-rgb.c | 2 | ||||
| -rw-r--r-- | src/libcroco/cr-sel-eng.c | 2 | ||||
| -rw-r--r-- | src/libcroco/cr-statement.c | 2 | ||||
| -rw-r--r-- | src/libcroco/cr-style.c | 4 | ||||
| -rw-r--r-- | src/libcroco/cr-term.c | 2 |
7 files changed, 8 insertions, 10 deletions
diff --git a/src/libcroco/cr-num.c b/src/libcroco/cr-num.c index c714894d6..062784c84 100644 --- a/src/libcroco/cr-num.c +++ b/src/libcroco/cr-num.c @@ -91,15 +91,13 @@ cr_num_new_with_val (gdouble a_val, enum CRNumType a_type) guchar * cr_num_to_string (CRNum * a_this) { - gdouble test_val = 0.0; - guchar *tmp_char1 = NULL, *tmp_char2 = NULL, *result = NULL; g_return_val_if_fail (a_this, NULL); - test_val = a_this->val - (glong) a_this->val; + gdouble test_val = a_this->val - (glong) a_this->val; if (!test_val) { tmp_char1 = (guchar *)g_strdup_printf ("%ld", (glong) a_this->val); diff --git a/src/libcroco/cr-parser.c b/src/libcroco/cr-parser.c index 917c5cb60..410f8f80f 100644 --- a/src/libcroco/cr-parser.c +++ b/src/libcroco/cr-parser.c @@ -3235,7 +3235,7 @@ cr_parser_parse_statement_core (CRParser * a_this) *ruleset ::= selector [ ',' S* selector ]* *'{' S* declaration? [ ';' S* declaration? ]* '}' S*; * - *This methods calls the the SAC handler on the relevant SAC handler + *This methods calls the SAC handler on the relevant SAC handler *callbacks whenever it encounters some specific constructions. *See the documentation of #CRDocHandler (the SAC handler) to know *when which SAC handler is called. diff --git a/src/libcroco/cr-rgb.c b/src/libcroco/cr-rgb.c index 893c2080b..e0c28701a 100644 --- a/src/libcroco/cr-rgb.c +++ b/src/libcroco/cr-rgb.c @@ -365,7 +365,7 @@ cr_rgb_is_set_to_inherit (CRRgb *a_this) } /** - *Tests if the the rgb is set to the + *Tests if the rgb is set to the *value "transparent" or not. *@param a_this the current instance of *#CRRgb diff --git a/src/libcroco/cr-sel-eng.c b/src/libcroco/cr-sel-eng.c index f010efea0..266191e82 100644 --- a/src/libcroco/cr-sel-eng.c +++ b/src/libcroco/cr-sel-eng.c @@ -839,7 +839,7 @@ cr_sel_eng_get_matched_rulesets_real (CRSelEng * a_this, sel_list = NULL; /* - *get the the damn selector list in + *get the damn selector list in *which we have to look */ switch (cur_stmt->type) { diff --git a/src/libcroco/cr-statement.c b/src/libcroco/cr-statement.c index 2b2c1836c..147cc8347 100644 --- a/src/libcroco/cr-statement.c +++ b/src/libcroco/cr-statement.c @@ -1907,7 +1907,7 @@ cr_statement_ruleset_set_sel_list (CRStatement * a_this, *Gets a pointer to the list of declaration contained *in the ruleset statement. *@param a_this the current instance of #CRStatement. - *@a_decl_list out parameter. A pointer to the the returned + *@a_decl_list out parameter. A pointer to the returned *list of declaration. Must not be NULL. *@return CR_OK upon successfull completion, an error code if something *bad happened. diff --git a/src/libcroco/cr-style.c b/src/libcroco/cr-style.c index e0abba83a..a9c5a5cec 100644 --- a/src/libcroco/cr-style.c +++ b/src/libcroco/cr-style.c @@ -36,7 +36,7 @@ *Each supported css property has an ID which is *an entry into a property "population" jump table. *each entry of the property population jump table - *contains code to tranform the literal form of + *contains code to transform the literal form of *a property value into a strongly typed value. */ enum CRPropertyID { @@ -148,7 +148,7 @@ static CRPropertyDesc gv_prop_table[] = { /** *A the key/value pair of this hash table *are: - *key => name of the the css propertie found in gv_prop_table + *key => name of the css property found in gv_prop_table *value => matching property id found in gv_prop_table. *So this hash table is here just to retrieval of a property id *from a property name. diff --git a/src/libcroco/cr-term.c b/src/libcroco/cr-term.c index 635577334..ccdff2522 100644 --- a/src/libcroco/cr-term.c +++ b/src/libcroco/cr-term.c @@ -766,7 +766,7 @@ cr_term_unref (CRTerm * a_this) } /** - *The destructor of the the #CRTerm class. + *The destructor of the #CRTerm class. *@param a_this the "this pointer" of the current instance *of #CRTerm. */ |
