X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b420fb6a37c3aa1c268983925280da7b4d7a2ee7..399b60a0ad232265cd74ce8bf6a53a1f2cc57ff2:/src/gtk/win_gtk.c?ds=inline diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index 4d925f373c..20d0181db6 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -563,19 +563,19 @@ gtk_pizza_realize (GtkWidget *widget) static void gtk_pizza_unrealize (GtkWidget *widget) { - GtkPizza *pizza; + GtkPizza *pizza; - g_return_if_fail (widget != NULL); - g_return_if_fail (GTK_IS_PIZZA (widget)); + g_return_if_fail (widget != NULL); + g_return_if_fail (GTK_IS_PIZZA (widget)); - pizza = GTK_PIZZA (widget); + pizza = GTK_PIZZA (widget); - gdk_window_set_user_data (pizza->bin_window, NULL); - gdk_window_destroy (pizza->bin_window); - pizza->bin_window = NULL; + gdk_window_set_user_data (pizza->bin_window, NULL); + gdk_window_destroy (pizza->bin_window); + pizza->bin_window = NULL; - if (GTK_WIDGET_CLASS (parent_class)->unrealize) - (* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget); + if (GTK_WIDGET_CLASS (parent_class)->unrealize) + (* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget); } static void @@ -712,7 +712,7 @@ gtk_pizza_expose (GtkWidget *widget, /* Sometimes, We handle all expose events in window.cpp now. */ if (pizza->external_expose) - return; + return FALSE; if (event->window != pizza->bin_window) return FALSE;