diff options
author | Federico Mena Quintero <federico@src.gnome.org> | 2001-06-20 01:26:04 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-06-20 01:26:04 +0800 |
commit | 4583098b34dfc46701ec05531bba90a7c59d8d92 (patch) | |
tree | 2c00fba88a8ba20ae218fe68f679958bbf963e2d /calendar/gui/control-factory.c | |
parent | 2e156596a6e8099c3f540ca362b1415613ed30dd (diff) | |
download | gsoc2013-evolution-4583098b34dfc46701ec05531bba90a7c59d8d92.tar.gz gsoc2013-evolution-4583098b34dfc46701ec05531bba90a7c59d8d92.tar.zst gsoc2013-evolution-4583098b34dfc46701ec05531bba90a7c59d8d92.zip |
Sync - Federico
svn path=/trunk/; revision=10293
Diffstat (limited to 'calendar/gui/control-factory.c')
-rw-r--r-- | calendar/gui/control-factory.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c index 8788a19c58..be41f9d420 100644 --- a/calendar/gui/control-factory.c +++ b/calendar/gui/control-factory.c @@ -49,14 +49,16 @@ CORBA_ORB orb; static void -control_activate_cb (BonoboControl *control, - gboolean activate, - gpointer user_data) +control_activate_cb (BonoboControl *control, gboolean activate, gpointer data) { + GnomeCalendar *gcal; + + gcal = GNOME_CALENDAR (data); + if (activate) - calendar_control_activate (control, user_data); + calendar_control_activate (control, gcal); else - calendar_control_deactivate (control); + calendar_control_deactivate (control, gcal); } |