[gnome-control-center/wip/jsparber/background: 26/40] background: make cc_background_grid_item_set_ref static and private



commit 5ecc098bd870827d3a3c4cc61c9a622f689c8ee9
Author: Julian Sparber <julian sparber net>
Date:   Mon Jan 15 15:49:49 2018 +0100

    background: make cc_background_grid_item_set_ref static and private
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788515

 panels/background/cc-background-grid-item.c |    2 +-
 panels/background/cc-background-grid-item.h |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/panels/background/cc-background-grid-item.c b/panels/background/cc-background-grid-item.c
index 87eeb8b..dcb0438 100644
--- a/panels/background/cc-background-grid-item.c
+++ b/panels/background/cc-background-grid-item.c
@@ -149,7 +149,7 @@ CcBackgroundItem * cc_background_grid_item_get_ref (GtkWidget *widget)
   CcBackgroundGridItem *self = (CcBackgroundGridItem *) widget;
   return self->item;
 }
-void
+static void
 cc_background_grid_item_set_ref (GtkWidget        *widget,
                                  CcBackgroundItem *item)
 {
diff --git a/panels/background/cc-background-grid-item.h b/panels/background/cc-background-grid-item.h
index af1b92f..29161f4 100644
--- a/panels/background/cc-background-grid-item.h
+++ b/panels/background/cc-background-grid-item.h
@@ -33,8 +33,6 @@ G_DECLARE_FINAL_TYPE (CcBackgroundGridItem, cc_background_grid_item, CC, BACKGRO
 
 GtkWidget *             cc_background_grid_item_new             (CcBackgroundItem             *,
                                                                  GdkPixbuf                    *);
-void                    cc_background_grid_item_set_ref         (GtkWidget                    *,
-                                                                 CcBackgroundItem             *);
 CcBackgroundItem *      cc_background_grid_item_get_ref         (GtkWidget                    *);
 
 G_END_DECLS


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