summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-02-01 23:38:49 +0100
committerAlexander Larsson <alexl@redhat.com>2020-02-04 16:41:36 +0100
commitbfebc2b01a8d5d775e54ad9afe0dc5ff2d0fd35d (patch)
tree94352607a483d4299eb6474c2c69b49c5831debf /gtk/gtkicontheme.h
parentb8ffe5b2452f829c45271c64743af89d38f78230 (diff)
downloadgtk+-bfebc2b01a8d5d775e54ad9afe0dc5ff2d0fd35d.tar.gz
icontheme: Remove gtk_icon_theme_get_default()
The API encouraged wrong usage - most of the users were indeed wrong. Use the correct version instead: gtk_icon_theme_get_for_display (gtk_widget_get_display ())
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r--gtk/gtkicontheme.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index a11959a61b..54655c8531 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -109,8 +109,6 @@ GType gtk_icon_theme_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GtkIconTheme *gtk_icon_theme_new (void);
GDK_AVAILABLE_IN_ALL
-GtkIconTheme *gtk_icon_theme_get_default (void);
-GDK_AVAILABLE_IN_ALL
GtkIconTheme *gtk_icon_theme_get_for_display (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gtk_icon_theme_set_display (GtkIconTheme *self,