Commit ecc1ceee authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Remove unnecessary g_return_if_fail()s from virtual functions. (#153469,

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
	* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
	unnecessary g_return_if_fail()s from virtual functions.  (#153469,
	(Tristan Van Berkom)
parent 68b51125
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions. (#153469,
(Tristan Van Berkom)
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions. (#153469,
(Tristan Van Berkom)
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions. (#153469,
(Tristan Van Berkom)
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions. (#153469,
(Tristan Van Berkom)
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
......
......@@ -834,8 +834,6 @@ gtk_button_map (GtkWidget *widget)
{
GtkButton *button = GTK_BUTTON (widget);
g_return_if_fail (GTK_IS_BUTTON (widget));
GTK_WIDGET_CLASS (parent_class)->map (widget);
if (button->event_window)
......@@ -847,8 +845,6 @@ gtk_button_unmap (GtkWidget *widget)
{
GtkButton *button = GTK_BUTTON (widget);
g_return_if_fail (GTK_IS_BUTTON (widget));
if (button->event_window)
gdk_window_hide (button->event_window);
......
......@@ -880,8 +880,6 @@ gtk_range_map (GtkWidget *widget)
{
GtkRange *range = GTK_RANGE (widget);
g_return_if_fail (GTK_IS_RANGE (widget));
gdk_window_show (range->event_window);
GTK_WIDGET_CLASS (parent_class)->map (widget);
......@@ -892,8 +890,6 @@ gtk_range_unmap (GtkWidget *widget)
{
GtkRange *range = GTK_RANGE (widget);
g_return_if_fail (GTK_IS_RANGE (widget));
gdk_window_hide (range->event_window);
GTK_WIDGET_CLASS (parent_class)->unmap (widget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment