[rhythmbox] rb-cell-renderer-rating: Remove unused finalize function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] rb-cell-renderer-rating: Remove unused finalize function
- Date: Sat, 5 Feb 2011 13:52:48 +0000 (UTC)
commit cbcdeae7abe4933258c0824d0553e8037f3f663c
Author: Bastien Nocera <hadess hadess net>
Date: Sat Feb 5 03:39:33 2011 +0000
rb-cell-renderer-rating: Remove unused finalize function
widgets/rb-cell-renderer-rating.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/widgets/rb-cell-renderer-rating.c b/widgets/rb-cell-renderer-rating.c
index 1c84ec0..3574dc9 100644
--- a/widgets/rb-cell-renderer-rating.c
+++ b/widgets/rb-cell-renderer-rating.c
@@ -63,7 +63,6 @@ static gboolean rb_cell_renderer_rating_activate (GtkCellRenderer *cell,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
-static void rb_cell_renderer_rating_finalize (GObject *object);
struct RBCellRendererRatingPrivate
{
@@ -123,8 +122,6 @@ rb_cell_renderer_rating_class_init (RBCellRendererRatingClass *class)
GObjectClass *object_class = G_OBJECT_CLASS (class);
GtkCellRendererClass *cell_class = GTK_CELL_RENDERER_CLASS (class);
- object_class->finalize = rb_cell_renderer_rating_finalize;
-
object_class->get_property = rb_cell_renderer_rating_get_property;
object_class->set_property = rb_cell_renderer_rating_set_property;
@@ -167,16 +164,6 @@ rb_cell_renderer_rating_class_init (RBCellRendererRatingClass *class)
}
static void
-rb_cell_renderer_rating_finalize (GObject *object)
-{
- RBCellRendererRating *cellrating;
-
- cellrating = RB_CELL_RENDERER_RATING (object);
-
- G_OBJECT_CLASS (rb_cell_renderer_rating_parent_class)->finalize (object);
-}
-
-static void
rb_cell_renderer_rating_get_property (GObject *object,
guint param_id,
GValue *value,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]