diff options
author | George Lebl <jirka@5z.com> | 2001-09-19 06:18:30 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-09-19 06:18:30 +0000 |
commit | e7ae2da74891b59cea44887ea56c35c9ce3e980b (patch) | |
tree | b09a4129c19ba4515f670b6b0f55b9f6534f0b6d /libgnome-desktop/libgnomeui | |
parent | 093ddf4e78525b2c9b03305fbc88ffec20355434 (diff) | |
download | gnome-desktop-e7ae2da74891b59cea44887ea56c35c9ce3e980b.tar.gz |
Few more accessors, whack the push/pop of sections. Keys can now include
Tue Sep 18 23:11:33 2001 George Lebl <jirka@5z.com>
* gnome-desktop-item.[ch]: Few more accessors, whack the push/pop
of sections. Keys can now include sections, add actual error
returns
* gnome-ditem-edit.[ch]: whack crack entries, make compile, and port
to new desktop item.
* Makefile.am: add the ditem-edit
Diffstat (limited to 'libgnome-desktop/libgnomeui')
-rw-r--r-- | libgnome-desktop/libgnomeui/gnome-ditem-edit.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libgnome-desktop/libgnomeui/gnome-ditem-edit.h b/libgnome-desktop/libgnomeui/gnome-ditem-edit.h index 81d1c047..ff822c06 100644 --- a/libgnome-desktop/libgnomeui/gnome-ditem-edit.h +++ b/libgnome-desktop/libgnomeui/gnome-ditem-edit.h @@ -36,7 +36,11 @@ #include <gtk/gtk.h> -#include <libgnome/gnome-ditem.h> +#ifdef GNOME_CORE_INTERNAL +# include "gnome-desktop-item.h" +#else +# include <libgnome/gnome-desktop-item.h> +#endif G_BEGIN_DECLS @@ -63,7 +67,7 @@ struct _GnomeDItemEditClass { /* Any information changed */ void (* changed) (GnomeDItemEdit * gee); - /* These two more specific signals are provided since they + /* These more specific signals are provided since they will likely require a display update */ /* The icon in particular has changed. */ void (* icon_changed) (GnomeDItemEdit * gee); @@ -71,7 +75,7 @@ struct _GnomeDItemEditClass { void (* name_changed) (GnomeDItemEdit * gee); }; -guint gnome_ditem_edit_get_type (void) G_GNUC_CONST; +GType gnome_ditem_edit_get_type (void) G_GNUC_CONST; /*create a new ditem and get the children using the below functions or use the utility new_notebook below*/ @@ -81,7 +85,8 @@ void gnome_ditem_edit_clear (GnomeDItemEdit *dee); /* Make the display reflect ditem at path */ gboolean gnome_ditem_edit_load_file (GnomeDItemEdit *dee, - const gchar *path); + const gchar *path, + GError **error); /* Copy the contents of this ditem into the display */ void gnome_ditem_edit_set_ditem (GnomeDItemEdit *dee, |