diff options
author | Timm Bäder <mail@baedert.org> | 2016-10-05 18:35:06 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-16 18:17:21 +0200 |
commit | ed184b393593059f9c99280fb9ca685a36a483a1 (patch) | |
tree | 8dc1bb882f646dab94ce7a8e09ab7f1c1ca1bcde /gtk/gtkstyleprovider.c | |
parent | 5b00a31c3056097084bc64a3ae8da6d54db5ee73 (diff) | |
download | gtk+-ed184b393593059f9c99280fb9ca685a36a483a1.tar.gz |
Remove GtkIconFactory
Move the icon size lookup API into gtkicontheme.c
Diffstat (limited to 'gtk/gtkstyleprovider.c')
-rw-r--r-- | gtk/gtkstyleprovider.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gtk/gtkstyleprovider.c b/gtk/gtkstyleprovider.c index d522b58439..a52d38dcd7 100644 --- a/gtk/gtkstyleprovider.c +++ b/gtk/gtkstyleprovider.c @@ -123,34 +123,3 @@ gtk_style_provider_get_style_property (GtkStyleProvider *provider, return iface->get_style_property (provider, path, state, pspec, value); } - -/** - * gtk_style_provider_get_icon_factory: - * @provider: a #GtkStyleProvider - * @path: #GtkWidgetPath to query - * - * Returns the #GtkIconFactory defined to be in use for @path, or %NULL if none - * is defined. - * - * Returns: (nullable) (transfer none): The icon factory to use for @path, or %NULL - * - * Since: 3.0 - * - * Deprecated: 3.8: Will always return %NULL for all GTK-provided style providers. - **/ -GtkIconFactory * -gtk_style_provider_get_icon_factory (GtkStyleProvider *provider, - GtkWidgetPath *path) -{ - GtkStyleProviderIface *iface; - - g_return_val_if_fail (GTK_IS_STYLE_PROVIDER (provider), NULL); - g_return_val_if_fail (path != NULL, NULL); - - iface = GTK_STYLE_PROVIDER_GET_IFACE (provider); - - if (!iface->get_icon_factory) - return NULL; - - return iface->get_icon_factory (provider, path); -} |