diff options
author | JP Rosevear <jpr@novell.com> | 2005-01-16 00:59:18 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2005-01-16 00:59:18 +0800 |
commit | ee927490bf5a0408c7632ec25835fa0a44cd8eee (patch) | |
tree | 6ba6af25a2d40dc5c74f7e7fb713787c20254b39 /a11y/calendar | |
parent | 3316da94b009046467197b4bc49417e7bec5f541 (diff) | |
download | gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar.gz gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar.bz2 gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar.lz gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar.xz gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.tar.zst gsoc2013-evolution-ee927490bf5a0408c7632ec25835fa0a44cd8eee.zip |
use E_CALENDAR_VIEW, not E_CAL_VIEW
2005-01-15 JP Rosevear <jpr@novell.com>
* calendar/ea-calendar-helpers.c
(ea_calendar_helpers_get_cal_view_from): use E_CALENDAR_VIEW, not
E_CAL_VIEW
Fixes #71306
* calendar/Makefile.am: no need for any idl in this directory, it
was not used anywhere
svn path=/trunk/; revision=28409
Diffstat (limited to 'a11y/calendar')
-rw-r--r-- | a11y/calendar/Makefile.am | 31 | ||||
-rw-r--r-- | a11y/calendar/ea-calendar-helpers.c | 5 |
2 files changed, 3 insertions, 33 deletions
diff --git a/a11y/calendar/Makefile.am b/a11y/calendar/Makefile.am index d57e64ecce..9688fc7ead 100644 --- a/a11y/calendar/Makefile.am +++ b/a11y/calendar/Makefile.am @@ -3,34 +3,6 @@ # for debug #A11Y_CFLAGS += -pedantic -ansi -DACC_DEBUG -Werror -CALENDAR_IDLS = $(top_srcdir)/calendar/idl/evolution-calendar.idl -SHELL_IDLS = \ - $(top_srcdir)/shell/Evolution.idl - -CALENDAR_IDL_GENERATED_H = evolution-calendar.h -CALENDAR_IDL_GENERATED_C = \ - evolution-calendar-common.c \ - evolution-calendar-skels.c \ - evolution-calendar-stubs.c - -SHELL_IDL_GENERATED_H = Evolution.h -SHELL_IDL_GENERATED_C = \ - Evolution-common.c \ - Evolution-skels.c \ - Evolution-stubs.c - -$(CALENDAR_IDL_GENERATED_H): $(CALENDAR_IDLS) - $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) \ - $(top_srcdir)/calendar/idl/evolution-calendar.idl - -$(SHELL_IDL_GENERATED_H): $(SHELL_IDLS) - $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) \ - $(top_srcdir)/shell/Evolution.idl - -IDL_GENERATED = $(SHELL_IDL_GENERATED_H) $(CALENDAR_IDL_GENERATED_H) -BUILT_SOURCES = $(IDL_GENERATED) -CLEANFILES = $(BUILT_SOURCES) $(CALENDAR_IDL_GENERATED_C) $(SHELL_IDL_GENERATED_C) - privlib_LTLIBRARIES = libevolution-calendar-a11y.la INCLUDES = \ @@ -54,8 +26,6 @@ INCLUDES = \ $(EVOLUTION_CALENDAR_CFLAGS) libevolution_calendar_a11y_la_SOURCES = \ - $(CALENDAR_IDL_GENERATED_H) \ - $(SHELL_IDL_GENERATED_H) \ ea-calendar.c \ ea-calendar.h \ ea-calendar-helpers.c \ @@ -83,4 +53,3 @@ libevolution_calendar_a11y_la_SOURCES = \ libevolution_calendar_a11y_la_LIBADD = \ $(top_builddir)/a11y/libevolution-a11y.la - diff --git a/a11y/calendar/ea-calendar-helpers.c b/a11y/calendar/ea-calendar-helpers.c index 9b484d0040..ff3a502a67 100644 --- a/a11y/calendar/ea-calendar-helpers.c +++ b/a11y/calendar/ea-calendar-helpers.c @@ -87,9 +87,10 @@ ea_calendar_helpers_get_cal_view_from (GnomeCanvasItem *canvas_item) /* parent of canvas_item->canvas is the EDayView or EWeekView widget */ canvas = canvas_item->canvas; view_widget = gtk_widget_get_parent (GTK_WIDGET(canvas)); - if (!view_widget || !E_IS_CAL_VIEW (view_widget)) + if (!view_widget || !E_IS_CALENDAR_VIEW (view_widget)) return NULL; - return E_CAL_VIEW (view_widget); + + return E_CALENDAR_VIEW (view_widget); } /** |