[gnome-flashback] application: fix theme_changed function



commit 24eeb4a2e7ae9be77a7f2bf401bfdca218c0f902
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Mar 29 23:42:46 2015 +0300

    application: fix theme_changed function

 gnome-flashback/flashback-application.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/flashback-application.c b/gnome-flashback/flashback-application.c
index 07ff159..83b9cea 100644
--- a/gnome-flashback/flashback-application.c
+++ b/gnome-flashback/flashback-application.c
@@ -66,7 +66,8 @@ remove_style_provider (FlashbackApplication *application,
 
 static void
 theme_changed (GtkSettings *settings,
-               gpointer      user_data)
+               GParamSpec  *pspec,
+               gpointer     user_data)
 {
   FlashbackApplication *application;
   GdkScreen *screen;
@@ -178,7 +179,7 @@ flashback_application_init (FlashbackApplication *application)
                     G_CALLBACK (theme_changed), application);
 
   settings_changed (application->settings, NULL, application);
-  theme_changed (settings, application);
+  theme_changed (settings, NULL, application);
 
   application->bus_name = g_bus_own_name (G_BUS_TYPE_SESSION,
                                           "org.gnome.Shell",


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