X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/364663aa7215a69f8b5c79160fbd11b444be22d2..465de0be705e52c7f97e9bb6169af9d20a7f72a8:/include/wx/gtk/assertdlg_gtk.h diff --git a/include/wx/gtk/assertdlg_gtk.h b/include/wx/gtk/assertdlg_gtk.h index ae3250a1c1..2e1a7a800a 100644 --- a/include/wx/gtk/assertdlg_gtk.h +++ b/include/wx/gtk/assertdlg_gtk.h @@ -1,5 +1,5 @@ /* /////////////////////////////////////////////////////////////////////////// -// Name: assertdlg_gtk.h +// Name: wx/gtk/assertdlg_gtk.h // Purpose: GtkAssertDialog // Author: Francesco Montorsi // Id: $Id$ @@ -7,15 +7,8 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////// */ -#ifndef __GTK_ASSERTDLG_H__ -#define __GTK_ASSERTDLG_H__ - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -#include -#include +#ifndef _WX_GTK_ASSERTDLG_H_ +#define _WX_GTK_ASSERTDLG_H_ #define GTK_TYPE_ASSERT_DIALOG (gtk_assert_dialog_get_type ()) #define GTK_ASSERT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ASSERT_DIALOG, GtkAssertDialog)) @@ -59,8 +52,8 @@ typedef enum -GType gtk_assert_dialog_get_type(); -GtkWidget *gtk_assert_dialog_new(); +GType gtk_assert_dialog_get_type(void); +GtkWidget *gtk_assert_dialog_new(void); /* get the assert message */ gchar *gtk_assert_dialog_get_message(GtkAssertDialog *assertdlg); @@ -79,14 +72,7 @@ void gtk_assert_dialog_set_backtrace_callback(GtkAssertDialog *assertdlg, /* appends a stack frame to the dialog */ void gtk_assert_dialog_append_stack_frame(GtkAssertDialog *dlg, const gchar *function, - const gchar *arguments, const gchar *sourcefile, guint line_number); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* __GTK_ASSERTDLG_H__ */ - - +#endif /* _WX_GTK_ASSERTDLG_H_ */