[metacity] libmetacity: rename theme invalidation function



commit b1077ef62d64c8d215290dc58d98345531274484
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Feb 7 04:11:16 2016 +0200

    libmetacity: rename theme invalidation function

 libmetacity/meta-theme.c |    4 ++--
 libmetacity/meta-theme.h |    2 +-
 src/ui/frames.c          |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libmetacity/meta-theme.c b/libmetacity/meta-theme.c
index a22cd3d..2397501 100644
--- a/libmetacity/meta-theme.c
+++ b/libmetacity/meta-theme.c
@@ -233,7 +233,7 @@ meta_theme_load (MetaTheme    *theme,
 }
 
 void
-meta_theme_style_invalidate (MetaTheme *theme)
+meta_theme_invalidate (MetaTheme *theme)
 {
   GList *variants;
   GList *l;
@@ -295,7 +295,7 @@ meta_theme_set_composited (MetaTheme *theme,
 
   theme->composited = composited;
 
-  meta_theme_style_invalidate (theme);
+  meta_theme_invalidate (theme);
 }
 
 void
diff --git a/libmetacity/meta-theme.h b/libmetacity/meta-theme.h
index 799550e..f741428 100644
--- a/libmetacity/meta-theme.h
+++ b/libmetacity/meta-theme.h
@@ -160,7 +160,7 @@ gboolean              meta_theme_load                      (MetaTheme
                                                             const gchar                 *theme_name,
                                                             GError                     **error);
 
-void                  meta_theme_style_invalidate          (MetaTheme                   *theme);
+void                  meta_theme_invalidate                (MetaTheme                   *theme);
 
 MetaStyleInfo        *meta_theme_get_style_info            (MetaTheme                   *theme,
                                                             const gchar                 *variant);
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 52dc9b4..d3c74d5 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -413,7 +413,7 @@ meta_frames_style_updated (GtkWidget *widget)
   compositing_manager = meta_prefs_get_compositing_manager ();
 
   meta_theme_set_composited (theme, compositing_manager);
-  meta_theme_style_invalidate (theme);
+  meta_theme_invalidate (theme);
 
   meta_frames_font_changed (frames);
 


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