|
|
| version 1.13, 2011/01/15 17:08:46 | version 1.16, 2012/01/23 03:57:31 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2004 NONAKA Kimihiro <aw9k-nnk@asahi-net.or.jp> | * Copyright (c) 2004 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| * | * |
| * Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without |
| Line 421 gui_gtk_msgbox(const char *title, const | Line 419 gui_gtk_msgbox(const char *title, const |
| dialog = gtk_message_dialog_new(GTK_WINDOW(main_window), | dialog = gtk_message_dialog_new(GTK_WINDOW(main_window), |
| GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, | GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, |
| msgtype, btntype, msg); | msgtype, btntype, "%s", msg); |
| gtk_window_set_title(GTK_WINDOW(dialog), title); | gtk_window_set_title(GTK_WINDOW(dialog), title); |
| gtk_widget_show_all(dialog); | gtk_widget_show_all(dialog); |