aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-model.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-02 20:37:17 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-02 20:37:17 +0800
commitcde584d3484348fd434d22b853292e93b4134a2c (patch)
tree9dd21dc201436f4e65d24b31797d598a560ca09b /calendar/gui/e-meeting-model.h
parentce850eda80ba927be45a5c559a38a8b18cbc53aa (diff)
downloadgsoc2013-evolution-cde584d3484348fd434d22b853292e93b4134a2c.tar.gz
gsoc2013-evolution-cde584d3484348fd434d22b853292e93b4134a2c.tar.zst
gsoc2013-evolution-cde584d3484348fd434d22b853292e93b4134a2c.zip
unref the model again (task_editor_edit_comp): don't allow editing if the
2003-05-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): unref the model again (task_editor_edit_comp): don't allow editing if the assignee has delegated * gui/dialogs/meeting-page.c (popup_delete_cb): set the new non-delegator to be editable * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow editing if the attendee has delegated (event_editor_finalize): unref the model again * gui/e-meeting-model.c: remove e-table-without related functions (finalize): don't create without table (e_meeting_model_etable_from_model): build the table with this as model (e_meeting_model_etable_model_to_view_row): directly use the model_to_view call (e_meeting_model_etable_view_to_model_row): as above (attendee_changed_cb): make sure pre change is alwasy called * gui/e-meeting-model.h: use DECLS, remove protos for long dead functions, don't include config.h svn path=/trunk/; revision=21045
Diffstat (limited to 'calendar/gui/e-meeting-model.h')
-rw-r--r--calendar/gui/e-meeting-model.h23
1 files changed, 5 insertions, 18 deletions
diff --git a/calendar/gui/e-meeting-model.h b/calendar/gui/e-meeting-model.h
index aea86c6509..50fba6c7a6 100644
--- a/calendar/gui/e-meeting-model.h
+++ b/calendar/gui/e-meeting-model.h
@@ -20,12 +20,8 @@
* Author: JP Rosevear
*/
-#ifndef _E_MODEL_H_
-#define _E_MODEL_H_
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#ifndef _E_MEETING_MODEL_H_
+#define _E_MEETING_MODEL_H_
#include <gtk/gtk.h>
#include <gal/e-table/e-table-scrolled.h>
@@ -33,10 +29,7 @@
#include <cal-client/cal-client.h>
#include "e-meeting-attendee.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define E_TYPE_MEETING_MODEL (e_meeting_model_get_type ())
#define E_MEETING_MODEL(obj) (GTK_CHECK_CAST ((obj), E_TYPE_MEETING_MODEL, EMeetingModel))
@@ -97,10 +90,6 @@ EMeetingAttendee *e_meeting_model_find_attendee_at_row (EMeetingModel *im, gint
gint e_meeting_model_count_actual_attendees (EMeetingModel *im);
const GPtrArray *e_meeting_model_get_attendees (EMeetingModel *im);
-void e_meeting_model_restricted_add (EMeetingModel *im, int row);
-void e_meeting_model_restricted_remove (EMeetingModel *im, int row);
-void e_meeting_model_restricted_clear (EMeetingModel *im);
-
void e_meeting_model_refresh_all_busy_periods (EMeetingModel *im,
EMeetingTime *start,
EMeetingTime *end,
@@ -122,8 +111,6 @@ int e_meeting_model_etable_view_to_model_row (ETable *et, EMeetingModel *im, int
void e_meeting_model_invite_others_dialog (EMeetingModel *im);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
-#endif /* _E_MEETING_MODEL_H_ */
+#endif