[gtk+] css: Return 0 as change for the GtkSettingsStyleProvider



commit c1e9d46c6453653b9e8ad760bc04088af4979e29
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Dec 4 19:56:18 2012 +0100

    css: Return 0 as change for the GtkSettingsStyleProvider

 gtk/gtksettings.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index e2af247..0fc7dd0 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1414,6 +1414,14 @@ gtk_settings_provider_iface_init (GtkStyleProviderIface *iface)
 {
 }
 
+static GtkCssChange
+gtk_settings_style_provider_get_change (GtkStyleProviderPrivate *provider,
+					const GtkCssMatcher *matcher)
+{
+  return 0;
+}
+
+
 static GtkSettings *
 gtk_settings_style_provider_get_settings (GtkStyleProviderPrivate *provider)
 {
@@ -1424,6 +1432,7 @@ static void
 gtk_settings_provider_private_init (GtkStyleProviderPrivateInterface *iface)
 {
   iface->get_settings = gtk_settings_style_provider_get_settings;
+  iface->get_change = gtk_settings_style_provider_get_change;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]