aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-14 07:34:40 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-14 07:34:40 +0800
commit6c2f176cb6c541672e8af5f4d32e34951b866c6c (patch)
tree636453ad9d9d7956c869e61f6c1cdcc4e1b5915d /widgets/menus/gal-view-new-dialog.h
parent25b9eca3d8e27378912e85fd4060b0f8c1bbbe69 (diff)
downloadgsoc2013-evolution-6c2f176cb6c541672e8af5f4d32e34951b866c6c.tar.gz
gsoc2013-evolution-6c2f176cb6c541672e8af5f4d32e34951b866c6c.tar.zst
gsoc2013-evolution-6c2f176cb6c541672e8af5f4d32e34951b866c6c.zip
more porting work.
2002-11-13 Chris Toshok <toshok@ximian.com> * gal-define-views-dialog.[ch]: more porting work. * gal-define-views-model.[ch]: same. * gal-view-etable.c: same. * gal-view-factory-etable.c: same. * gal-view-instance-save-as-dialog.[ch]: same. * gal-view-instance.c: same. * gal-view-new-dialog.[ch]: same. * gal-define-views.glade: convert to glade2. * gal-view-instance-save-as-dialog.glade: same. * gal-view-new-dialog.glade: same. svn path=/trunk/; revision=18749
Diffstat (limited to 'widgets/menus/gal-view-new-dialog.h')
-rw-r--r--widgets/menus/gal-view-new-dialog.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/widgets/menus/gal-view-new-dialog.h b/widgets/menus/gal-view-new-dialog.h
index 623cb341d0..d7d7912ea2 100644
--- a/widgets/menus/gal-view-new-dialog.h
+++ b/widgets/menus/gal-view-new-dialog.h
@@ -24,6 +24,7 @@
#ifndef __GAL_VIEW_NEW_DIALOG_H__
#define __GAL_VIEW_NEW_DIALOG_H__
+#include <gtk/gtkdialog.h>
#include <glade/glade.h>
#include <gal-view-collection.h>
@@ -40,18 +41,18 @@ extern "C" {
* --------------------------------------------------------------------------------
*/
-#define GAL_VIEW_NEW_DIALOG_TYPE (gal_view_new_dialog_get_type ())
-#define GAL_VIEW_NEW_DIALOG(obj) (GTK_CHECK_CAST ((obj), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialog))
-#define GAL_VIEW_NEW_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialogClass))
-#define GAL_IS_VIEW_NEW_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
-#define GAL_IS_VIEW_NEW_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
+#define GAL_VIEW_NEW_DIALOG_TYPE (gal_view_new_dialog_get_type ())
+#define GAL_VIEW_NEW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialog))
+#define GAL_VIEW_NEW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialogClass))
+#define GAL_IS_VIEW_NEW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
+#define GAL_IS_VIEW_NEW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
typedef struct _GalViewNewDialog GalViewNewDialog;
typedef struct _GalViewNewDialogClass GalViewNewDialogClass;
struct _GalViewNewDialog
{
- GnomeDialog parent;
+ GtkDialog parent;
/* item specific fields */
GladeXML *gui;
@@ -62,11 +63,11 @@ struct _GalViewNewDialog
struct _GalViewNewDialogClass
{
- GnomeDialogClass parent_class;
+ GtkDialogClass parent_class;
};
GtkWidget *gal_view_new_dialog_new (GalViewCollection *collection);
-GtkType gal_view_new_dialog_get_type (void);
+GType gal_view_new_dialog_get_type (void);
GtkWidget *gal_view_new_dialog_construct (GalViewNewDialog *dialog,
GalViewCollection *collection);