summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecascade.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-02-20 02:08:53 +0100
committerBenjamin Otte <otte@redhat.com>2014-02-20 02:10:07 +0100
commitf2d4b07f4bb44f7bf433a6178aabd43b12e7be7b (patch)
tree45a3534083e887102a705997ce77c92204b88348 /gtk/gtkstylecascade.c
parent6de50aa7d9579ccf1bbf699eb0398aeff00e5689 (diff)
downloadgtk+-f2d4b07f4bb44f7bf433a6178aabd43b12e7be7b.tar.gz
stylecascade: Remove function
Inline it.
Diffstat (limited to 'gtk/gtkstylecascade.c')
-rw-r--r--gtk/gtkstylecascade.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkstylecascade.c b/gtk/gtkstylecascade.c
index 7f281b399b..d4216f19dc 100644
--- a/gtk/gtkstylecascade.c
+++ b/gtk/gtkstylecascade.c
@@ -21,7 +21,6 @@
#include "gtkstyleprovider.h"
#include "gtkstyleproviderprivate.h"
-#include "gtksettingsprivate.h"
typedef struct _GtkStyleCascadeIter GtkStyleCascadeIter;
typedef struct _GtkStyleProviderData GtkStyleProviderData;
@@ -310,14 +309,6 @@ _gtk_style_cascade_new (void)
return g_object_new (GTK_TYPE_STYLE_CASCADE, NULL);
}
-GtkStyleCascade *
-_gtk_style_cascade_get_for_screen (GdkScreen *screen)
-{
- g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL);
-
- return _gtk_settings_get_style_cascade (gtk_settings_get_for_screen (screen));
-}
-
void
_gtk_style_cascade_set_parent (GtkStyleCascade *cascade,
GtkStyleCascade *parent)