aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb/fbmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fb/fbmenu.c b/fb/fbmenu.c
index 855a906..e92664b 100644
--- a/fb/fbmenu.c
+++ b/fb/fbmenu.c
@@ -28,7 +28,7 @@ void message_dialog_clicked (GtkButton *button, gpointer user_data)
{
g_signal_connect (window, "destroy", G_CALLBACK (gtk_widget_destroyed), &window);
gtk_widget_destroy (window);
- printf("\nRESULT=\"%s\"\n", user_data);
+ printf("\nRESULT=\"%s\"\n", (char *) user_data);
exit(0);
}
@@ -47,7 +47,7 @@ create_bbox (gint horizontal,
frame = gtk_frame_new (title);
- gtk_frame_set_shadow_type (frame, GTK_SHADOW_NONE);
+ gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE);
if (horizontal)
bbox = gtk_hbutton_box_new ();
else
@@ -109,7 +109,7 @@ do_button_box (GtkWidget *do_widget, int argc, char** argv)
hbox,
TRUE, FALSE, 5);
eventbox = gtk_event_box_new ();
- gtk_event_box_set_visible_window (eventbox, TRUE);
+ gtk_event_box_set_visible_window (GTK_EVENT_BOX (eventbox), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), eventbox, TRUE, FALSE, 5);
gtk_container_add (GTK_CONTAINER (eventbox), create_bbox (FALSE, argv[0], 30, GTK_BUTTONBOX_START, argc - 1, argv + 1));
}