Function

Gtkrc_parse_priority

Declaration [src]

guint
gtk_rc_parse_priority (
  GScanner* scanner,
  GtkPathPriorityType* priority
)

Description [src]

Parses a GtkPathPriorityType variable from the format expected in a RC file.

Deprecated since:3.0

Use GtkCssProvider instead.

Parameters

scanner GScanner
 

A GScanner (must be initialized for parsing an RC file)

 The data is owned by the caller of the function.
priority GtkPathPriorityType
 

A pointer to GtkPathPriorityType variable in which to store the result.

 The data is owned by the caller of the function.

Return value

Returns: guint
 

G_TOKEN_NONE if parsing succeeded, otherwise the token that was expected but not found.