aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-01 12:00:40 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-01 12:00:40 +0000
commit0deda7b750497588c4e4291e6044917695b5e1c6 (patch)
tree83d2314ebadba3d2a4e261fe75a206b733959418
parent13d691881a5470fbeb4b88da478118e3c05f4ae0 (diff)
downloadbootsplash-0deda7b750497588c4e4291e6044917695b5e1c6.tar
bootsplash-0deda7b750497588c4e4291e6044917695b5e1c6.tar.gz
bootsplash-0deda7b750497588c4e4291e6044917695b5e1c6.tar.bz2
bootsplash-0deda7b750497588c4e4291e6044917695b5e1c6.tar.xz
bootsplash-0deda7b750497588c4e4291e6044917695b5e1c6.zip
remove compilation warnings
-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));
}