mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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)
This commit is contained in:
parent
68b511254f
commit
ecc1ceee3c
@ -1,5 +1,10 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user