diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-15 23:14:36 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-15 23:14:36 -0400 |
| commit | 7b46c7de561a90c658115da03e86ece38f3f6065 (patch) | |
| tree | 40d6f78c7784e35c5b2a2b47eb2f6d7cca90029d /new/unix/checkbox.c | |
| parent | 0c73a7fb80e0fc59f1fbde07053bd55fe03dd3cc (diff) | |
Fixed build warnings. More TODOs.
Diffstat (limited to 'new/unix/checkbox.c')
| -rw-r--r-- | new/unix/checkbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new/unix/checkbox.c b/new/unix/checkbox.c index 5111c0e..f3563a1 100644 --- a/new/unix/checkbox.c +++ b/new/unix/checkbox.c @@ -31,12 +31,12 @@ static void onDestroy(GtkWidget *widget, gpointer data) static char *getText(uiCheckbox *c) { - return g_strdup(gtk_button_get_label(CHECKBOX(c))); + return g_strdup(gtk_button_get_label(GTK_BUTTON(CHECKBOX(c)))); } static void setText(uiCheckbox *c, const char *text) { - gtk_button_set_label(CHECKBOX(c), text); + gtk_button_set_label(GTK_BUTTON(CHECKBOX(c)), text); } static void setOnToggled(uiCheckbox *cc, void (*f)(uiCheckbox *, void *), void *data) |
