Test the commit announcement bot some more by fixing more gtk signal callback handler signatures. Are any correct?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-02-23 11:09:28 +00:00
parent 5d4c083326
commit a237731e1c

View File

@@ -95,7 +95,7 @@ WX_DEFINE_LIST(wxGtkNotebookPagesList)
extern "C" { extern "C" {
static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget), static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget),
GtkNotebookPage *WXUNUSED(page), GtkNotebookPage *WXUNUSED(page),
gint page, guint page,
wxNotebook *notebook ) wxNotebook *notebook )
{ {
// are you trying to call SetSelection() from a notebook event handler? // are you trying to call SetSelection() from a notebook event handler?
@@ -175,7 +175,7 @@ static void gtk_page_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation*
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
extern "C" { extern "C" {
static gint static void
gtk_notebook_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win ) gtk_notebook_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
{ {
if (g_isIdle) if (g_isIdle)
@@ -184,8 +184,6 @@ gtk_notebook_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
/* GTK 1.2 up to version 1.2.5 is broken so that we have to call a queue_resize /* GTK 1.2 up to version 1.2.5 is broken so that we have to call a queue_resize
here in order to make repositioning before showing to take effect. */ here in order to make repositioning before showing to take effect. */
gtk_widget_queue_resize( win->m_widget ); gtk_widget_queue_resize( win->m_widget );
return FALSE;
} }
} }
@@ -194,7 +192,10 @@ gtk_notebook_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
extern "C" { extern "C" {
static gint gtk_notebook_key_press_callback( GtkWidget *widget, GdkEventKey *gdk_event, wxNotebook *notebook ) static gboolean
gtk_notebook_key_press_callback( GtkWidget *widget,
GdkEventKey *gdk_event,
wxNotebook *notebook )
{ {
if (g_isIdle) if (g_isIdle)
wxapp_install_idle_handler(); wxapp_install_idle_handler();