Function

Gtkrc_find_module_in_path

deprecated: 3.0 

Declaration [src]

gchar*
gtk_rc_find_module_in_path (
  const gchar* module_file
)

Description [src]

Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used.

Deprecated since: 3.0

Use GtkCssProvider instead.

Parameters

module_file

Type: const gchar*

Name of a theme engine.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

The filename, if found (must be freed with g_free()), otherwise NULL.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.