[brasero] Removed unnecessary functions
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Removed unnecessary functions
- Date: Wed, 2 Dec 2009 21:17:52 +0000 (UTC)
commit 5662ca7f36ab2710b8cea2eb8c3a3666e7b950f1
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Dec 2 22:06:07 2009 +0100
Removed unnecessary functions
src/brasero-player-bacon.c | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/src/brasero-player-bacon.c b/src/brasero-player-bacon.c
index 5afe8e3..7358059 100644
--- a/src/brasero-player-bacon.c
+++ b/src/brasero-player-bacon.c
@@ -148,36 +148,6 @@ brasero_player_bacon_realize (GtkWidget *widget)
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
}
-static void
-brasero_player_bacon_show (GtkWidget *widget)
-{
- GdkWindow *window;
-
- g_return_if_fail (widget != NULL);
-
- window = gtk_widget_get_window (widget);
- if (window)
- gdk_window_show (window);
-
- if (GTK_WIDGET_CLASS (brasero_player_bacon_parent_class)->show)
- GTK_WIDGET_CLASS (brasero_player_bacon_parent_class)->show (widget);
-}
-
-static void
-brasero_player_bacon_hide (GtkWidget *widget)
-{
- GdkWindow *window;
-
- g_return_if_fail (widget != NULL);
-
- window = gtk_widget_get_window (widget);
- if (window)
- gdk_window_hide (window);
-
- if (GTK_WIDGET_CLASS (brasero_player_bacon_parent_class)->hide)
- GTK_WIDGET_CLASS (brasero_player_bacon_parent_class)->hide (widget);
-}
-
static gboolean
brasero_player_bacon_expose (GtkWidget *widget, GdkEventExpose *event)
{
@@ -652,8 +622,6 @@ brasero_player_bacon_class_init (BraseroPlayerBaconClass *klass)
gtk_object_class->destroy = brasero_player_bacon_destroy;
widget_class->expose_event = brasero_player_bacon_expose;
- widget_class->show = brasero_player_bacon_show;
- widget_class->hide = brasero_player_bacon_hide;
widget_class->realize = brasero_player_bacon_realize;
widget_class->size_request = brasero_player_bacon_size_request;
widget_class->size_allocate = brasero_player_bacon_size_allocate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]