diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-01-25 11:17:54 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-25 11:17:54 +0800 |
commit | 32ce476a23e9f2757e9cc539532f38f4ab21837c (patch) | |
tree | 4a9aeebfe355427fe035d27441b02bbc7be0bc4d /calendar/cal-factory.c | |
parent | 50e5c22f0f5c4083ceee623b5bc02a6a7fc4f18c (diff) | |
download | gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.gz gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.zst gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.zip |
Added the gnome-pilot and capplet checks; they will likely be reworked for
2000-01-24 Federico Mena Quintero <federico@helixcode.com>
* configure.in: Added the gnome-pilot and capplet checks; they
will likely be reworked for the Evolution framework, but for now
the calendar/ directory needs them.
* configure.in: Added checks for gnome-vfs.
2000-01-24 Federico Mena Quintero <federico@helixcode.com>
* tlacuache.c: New main module for the Tlacuache personal calendar
server.
* tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME
personal calendar server.
* Makefile.am: Added the stuff necessary to build Tlacuache.
* cal.c (Cal_get_uri): Convert the URI to a string before
returning it.
* cal-factory.c (CalFactory_create): Doh, this function is void.
* job.c (job_add): Use g_idle_add(), not gtk_idle_add().
svn path=/trunk/; revision=1623
Diffstat (limited to 'calendar/cal-factory.c')
-rw-r--r-- | calendar/cal-factory.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/calendar/cal-factory.c b/calendar/cal-factory.c index 2f31355e73..6a522df67f 100644 --- a/calendar/cal-factory.c +++ b/calendar/cal-factory.c @@ -89,7 +89,7 @@ init_cal_factory_corba_class (void) static void cal_factory_class_init (CalFactoryClass *class) { - GtkObjectClass *parent_class; + GtkObjectClass *object_class; object_class = (GtkObjectClass *) class; @@ -156,7 +156,7 @@ cal_factory_destroy (GtkObject *object) /* CalFactory::load method */ static void CalFactory_load (PortableServer_Servant servant, - CORBA_char *uri, + const CORBA_char *uri, GNOME_Calendar_Listener listener, CORBA_Environment *ev) { @@ -170,9 +170,9 @@ CalFactory_load (PortableServer_Servant servant, } /* CalFactory::create method */ -static GNOME_Calendar_Cal +static void CalFactory_create (PortableServer_Servant servant, - CORBA_char *uri, + const CORBA_char *uri, GNOME_Calendar_Listener listener, CORBA_Environment *ev) { @@ -226,7 +226,7 @@ lookup_backend (CalFactory *factory, GnomeVFSURI *uri) priv = factory->priv; backend = g_hash_table_lookup (priv->backends, uri); - return cal; + return backend; } /* Loads a calendar backend and puts it in the factory's backend hash table */ @@ -236,7 +236,6 @@ load_backend (CalFactory *factory, GnomeVFSURI *uri, GNOME_Calendar_Listener lis CalFactoryPrivate *priv; CalBackend *backend; CalBackendLoadStatus status; - CORBA_Environment ev; priv = factory->priv; @@ -256,7 +255,7 @@ load_backend (CalFactory *factory, GnomeVFSURI *uri, GNOME_Calendar_Listener lis return backend; case CAL_BACKEND_LOAD_ERROR: - gtk_object_unref (backend); + gtk_object_unref (GTK_OBJECT (backend)); return NULL; default: @@ -310,7 +309,7 @@ add_calendar_client (CalFactory *factory, CalBackend *backend, GNOME_Calendar_Li static void load_fn (gpointer data) { - LoadCreateJobData jd; + LoadCreateJobData *jd; CalFactory *factory; GnomeVFSURI *uri; GNOME_Calendar_Listener listener; @@ -447,7 +446,7 @@ cal_factory_new (void) if (ev._major != CORBA_NO_EXCEPTION || retval) { g_message ("cal_factory_new(): could not create the CORBA factory"); - gtk_object_unref (factory); + gtk_object_unref (GTK_OBJECT (factory)); CORBA_exception_free (&ev); return NULL; } |