Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / libanjuta / anjuta-preferences-dialog.h
blob12044c98b2ae3437657dca5982ffbc102428d56c
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * Anjuta
4 *
5 * Copyright (C) 2002 Dave Camp
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef ANJUTA_PREFERENCES_DIALOG_H
23 #define ANJUTA_PREFERENCES_DIALOG_H
25 G_BEGIN_DECLS
27 #include <gtk/gtkdialog.h>
29 #define ANJUTA_TYPE_PREFERENCES_DIALOG (anjuta_preferences_dialog_get_type ())
30 #define ANJUTA_PREFERENCES_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PREFERENCES_DIALOG, AnjutaPreferencesDialog))
31 #define ANJUTA_PREFERENCES_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_PREFERENCES_DIALOG, AnjutaPreferencesDialogClass))
32 #define ANJUTA_IS_PREFERENCES_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PREFERENCES_DIALOG))
33 #define ANJUTA_IS_PREFERENCES_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PREFERENCES_DIALOG))
35 typedef struct _AnjutaPreferencesDialog AnjutaPreferencesDialog;
36 typedef struct _AnjutaPreferencesDialogClass AnjutaPreferencesDialogClass;
37 typedef struct _AnjutaPreferencesDialogPrivate AnjutaPreferencesDialogPrivate;
39 struct _AnjutaPreferencesDialog {
40 GtkDialog parent;
42 AnjutaPreferencesDialogPrivate *priv;
45 struct _AnjutaPreferencesDialogClass {
46 GtkDialogClass parent;
49 GType anjuta_preferences_dialog_get_type (void);
51 GtkWidget *anjuta_preferences_dialog_new (void);
53 void anjuta_preferences_dialog_add_page (AnjutaPreferencesDialog *dlg,
54 const gchar *name,
55 const gchar *title,
56 GdkPixbuf *icon,
57 GtkWidget *page);
59 void anjuta_preferences_dialog_remove_page (AnjutaPreferencesDialog *dlg,
60 const char *title);
62 G_END_DECLS
64 #endif