tMore GTK+3 fixes - vaccinewars - be a doctor and try to vaccinate the world | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7f47a95f8fc19e849370682e17f701cb640e5e92 | |
parent 0cb94ede5eb33dc1592d11d2a0c1a383d5ea25e2 | |
Author: Ben Webb <[email protected]> | |
Date: Sun, 22 Nov 2020 01:44:58 -0800 | |
More GTK+3 fixes | |
Diffstat: | |
M src/gui_client/gtk_client.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c | |
t@@ -207,7 +207,7 @@ GtkWidget *my_hbbox_new(void) | |
{ | |
GtkWidget *hbbox = gtk_hbutton_box_new(); | |
gtk_button_box_set_layout(GTK_BUTTON_BOX(hbbox), GTK_BUTTONBOX_END); | |
- gtk_button_box_set_spacing(GTK_BUTTON_BOX(hbbox), 8); | |
+ gtk_box_set_spacing(GTK_BOX(hbbox), 8); | |
return hbbox; | |
} | |
t@@ -2596,7 +2596,7 @@ void TransferDialog(gboolean Debt) | |
/* Radio button selected if you want to pay money into the bank */ | |
radio = gtk_radio_button_new_with_label(NULL, _("Deposit")); | |
g_object_set_data(G_OBJECT(dialog), "deposit", radio); | |
- group = gtk_radio_button_group(GTK_RADIO_BUTTON(radio)); | |
+ group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(radio)); | |
gtk_table_attach_defaults(GTK_TABLE(table), radio, 0, 1, 2, 3); | |
/* Radio button selected if you want to withdraw money from the bank */ |