aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-10-01 15:31:14 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-01 15:31:14 +0800
commitecd38612b666a4f6f0edb2c21d1cd9769ce1d89e (patch)
tree629f28bbd0582478014d74c71ba1e8e3f9fbac57 /calendar/gui/calendar-commands.c
parent820e1591fd4d6248dbea6d9e2b010373299cbaf5 (diff)
downloadgsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.gz
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.bz2
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.lz
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.xz
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.zst
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.zip
2007-10-01 mcrha Fix for bug #342283
svn path=/trunk/; revision=34339
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r--calendar/gui/calendar-commands.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index e4ee6d0b71..6d7f164491 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -87,8 +87,8 @@ file_open_event_cb (BonoboUIComponent *uic, gpointer data, const char *path)
/* Prints the calendar at its current view and time range */
-static void
-print (GnomeCalendar *gcal, GtkPrintOperationAction action)
+void
+calendar_command_print (GnomeCalendar *gcal, GtkPrintOperationAction action)
{
if (gnome_calendar_get_view (gcal) == GNOME_CAL_LIST_VIEW) {
ECalListView *list_view;
@@ -111,7 +111,7 @@ file_print_cb (BonoboUIComponent *uic, gpointer data, const char *path)
{
GnomeCalendar *gcal = GNOME_CALENDAR (data);
- print (gcal, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG);
+ calendar_command_print (gcal, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG);
}
static void
@@ -119,7 +119,7 @@ file_print_preview_cb (BonoboUIComponent *uic, gpointer data, const char *path)
{
GnomeCalendar *gcal = GNOME_CALENDAR (data);
- print (gcal, GTK_PRINT_OPERATION_ACTION_PREVIEW);
+ calendar_command_print (gcal, GTK_PRINT_OPERATION_ACTION_PREVIEW);
}
/* Sets a clock cursor for the specified calendar window */