Typo GtkPizza,
More debug printf()s in GSocket_Write() Did I touch plot.cpp ? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
236a9de39a
commit
d5ab387d2a
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -742,9 +742,15 @@ int GSocket_Write(GSocket *socket, const char *buffer, int size)
|
||||
if (ret == -1)
|
||||
{
|
||||
if (errno == EWOULDBLOCK)
|
||||
{
|
||||
socket->m_error = GSOCK_WOULDBLOCK;
|
||||
printf( "GSocket_Write error WOULDBLOCK\n" );
|
||||
}
|
||||
else
|
||||
{
|
||||
socket->m_error = GSOCK_IOERR;
|
||||
printf( "GSocket_Write error IOERR\n" );
|
||||
}
|
||||
|
||||
/* Only reenable OUTPUT events after an error (just like WSAAsyncSelect
|
||||
* in MSW). Once the first OUTPUT event is received, users can assume
|
||||
|
Loading…
Reference in New Issue
Block a user