Fail in gdk_window_new if _gdk_window_new failed
2009-01-09 Christian Dywan <christian@imendio.com> Fail in gdk_window_new if _gdk_window_new failed * gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail in case _gdk_window_new is NULL. Approved by Tim Janik svn path=/trunk/; revision=22082
This commit is contained in:

committed by
Christian Dywan

parent
7363a61079
commit
27d8d8ea2b
@ -1,3 +1,10 @@
|
|||||||
|
2009-01-09 Christian Dywan <christian@imendio.com>
|
||||||
|
|
||||||
|
Fail in gdk_window_new if _gdk_window_new failed
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail
|
||||||
|
in case _gdk_window_new is NULL. Approved by Tim Janik
|
||||||
|
|
||||||
2009-01-08 Matthias Clasen <mclasen@redhat.com>
|
2009-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 566733 – Add GIcon to GtkAction, GtkToolButton
|
Bug 566733 – Add GIcon to GtkAction, GtkToolButton
|
||||||
|
@ -373,6 +373,7 @@ gdk_window_new (GdkWindow *parent,
|
|||||||
g_return_val_if_fail (attributes != NULL, NULL);
|
g_return_val_if_fail (attributes != NULL, NULL);
|
||||||
|
|
||||||
window = _gdk_window_new (parent, attributes, attributes_mask);
|
window = _gdk_window_new (parent, attributes, attributes_mask);
|
||||||
|
g_return_val_if_fail (window != NULL, window);
|
||||||
|
|
||||||
/* Inherit redirection from parent */
|
/* Inherit redirection from parent */
|
||||||
if (parent != NULL)
|
if (parent != NULL)
|
||||||
|
Reference in New Issue
Block a user