bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Small patch for gtkpanels.c


From: macherius
Subject: [Bug-gnubg] Small patch for gtkpanels.c
Date: Mon, 7 Feb 2005 09:33:32 +0100

Hi,

here's another cosmetic patch to gtkpanels.c that silences 2 compiler
warnings with GTK2. I hoped it would also fix the problem with the broken
dock-panel / undock-panel, but it does not.

Ingo

451,455d450
< #if GTK_CHECK_VERSION(2,0,0)
<           g_signal_connect( GTK_OBJECT( woPanel[WINDOW_ANALYSIS].pwWin ),
"delete_event",
<                       G_CALLBACK(woPanel[WINDOW_ANALYSIS].hideFun), NULL
);
< 
< #elif
457c452
<                       G_CALLBACK(woPanel[WINDOW_ANALYSIS].hideFun), NULL
);
---
>                       woPanel[WINDOW_ANALYSIS].hideFun, NULL );
458,460d452
< 
< #endif
< 
582,586d573
< 
< #if GTK_CHECK_VERSION(2,0,0)
<               g_signal_connect( GTK_OBJECT( woPanel[WINDOW_GAME].pwWin ),
"delete_event",
<                       G_CALLBACK(woPanel[WINDOW_GAME].hideFun), NULL );
< #elif
589d575
< #endif
771,773d756
< #if GTK_CHECK_VERSION(2,0,0)
<               g_signal_connect(GTK_OBJECT(woPanel[window].pwWin),
"delete_event", G_CALLBACK(woPanel[window].hideFun), NULL);
< #elif
775d757
< #endif






reply via email to

[Prev in Thread] Current Thread [Next in Thread]