From 9fdb71cbd212cf126384d0e6c6f3af66586663e3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 3 Oct 2020 11:25:35 -0400 Subject: icontheme: Add a missing getter We want to have a get_display() method on every object that is tied to the display, so add one here. --- gtk/gtkicontheme.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkicontheme.h') diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index a423e03571..b5392682ae 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -86,6 +86,9 @@ GtkIconTheme *gtk_icon_theme_new (void); GDK_AVAILABLE_IN_ALL GtkIconTheme *gtk_icon_theme_get_for_display (GdkDisplay *display); +GDK_AVAILABLE_IN_ALL +GdkDisplay * gtk_icon_theme_get_display (GtkIconTheme *self); + GDK_AVAILABLE_IN_ALL void gtk_icon_theme_set_search_path (GtkIconTheme *self, const char * const *path); -- cgit v1.2.1