diff options
Diffstat (limited to 'dialog_unix.go')
| -rw-r--r-- | dialog_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dialog_unix.go b/dialog_unix.go index 8564efd..510d9c5 100644 --- a/dialog_unix.go +++ b/dialog_unix.go @@ -10,7 +10,7 @@ import ( // #cgo pkg-config: gtk+-3.0 // #include <stdlib.h> -// #include <gtk/gtk.h> +// #include "gtk_unix.h" // /* because cgo seems to choke on ... */ // /* TODO does NULL parent make the box application-global? docs are unclear */ // GtkWidget *gtkNewMsgBox(GtkMessageType type, GtkButtonsType buttons, char *title, char *text) { GtkWidget *k = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, type, buttons, "%s", (gchar *) title); gtk_message_dialog_format_secondary_text((GtkMessageDialog *) k, "%s", (gchar *) text); return k; } |
