mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Add a g_return_if_fail. (#362614, Xan Lopez)
2006-12-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail. (#362614, Xan Lopez)
This commit is contained in:
parent
1bb873464c
commit
6ef83209bd
@ -1,3 +1,8 @@
|
||||
2006-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
|
||||
(#362614, Xan Lopez)
|
||||
|
||||
2006-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_node): If a required action
|
||||
|
@ -2239,6 +2239,8 @@ gtk_widget_destroyed (GtkWidget *widget,
|
||||
void
|
||||
gtk_widget_show (GtkWidget *widget)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
if (!GTK_WIDGET_VISIBLE (widget))
|
||||
{
|
||||
g_object_ref (widget);
|
||||
|
Loading…
Reference in New Issue
Block a user