mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
don't leak/fail to install zoom-out button when chat enabled
This commit is contained in:
parent
3e21b7845a
commit
fc00102384
1 changed files with 2 additions and 1 deletions
|
@ -1896,12 +1896,13 @@ makeVerticalBar( GtkAppGlobals* globals, GtkWidget* XP_UNUSED(window) )
|
|||
gtk_box_pack_start( GTK_BOX(vbox), button, FALSE, TRUE, 0 );
|
||||
button = makeShowButtonFromBitmap( globals, "../done.xpm", "-",
|
||||
G_CALLBACK(handle_zoomout_button) );
|
||||
gtk_box_pack_start( GTK_BOX(vbox), button, FALSE, TRUE, 0 );
|
||||
#ifdef XWFEATURE_CHAT
|
||||
button = makeShowButtonFromBitmap( globals, "", "chat",
|
||||
G_CALLBACK(handle_chat_button) );
|
||||
globals->chat_button = button;
|
||||
#endif
|
||||
gtk_box_pack_start( GTK_BOX(vbox), button, FALSE, TRUE, 0 );
|
||||
#endif
|
||||
|
||||
gtk_widget_show( vbox );
|
||||
return vbox;
|
||||
|
|
Loading…
Reference in a new issue