Fix miscellaneous issues causing warnings in Evolution.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 26 May 2009 20:39:56 +0000 (16:39 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 26 May 2009 20:41:13 +0000 (16:41 -0400)
camel/camel-operation.c
camel/camel-operation.h
servers/google/libgdata/gdata-entry.h
servers/google/libgdata/gdata-feed.h
servers/groupwise/e-gw-connection.h
servers/groupwise/e-gw-item.h
servers/groupwise/e-gw-sendoptions.c
servers/groupwise/e-gw-sendoptions.h

index dd87e9f..156abd1 100644 (file)
@@ -488,7 +488,7 @@ camel_operation_cancel_prfd (CamelOperation *cc)
  * similar end operations.
  **/
 void
-camel_operation_start (CamelOperation *cc, char *what, ...)
+camel_operation_start (CamelOperation *cc, const gchar *what, ...)
 {
        va_list ap;
        char *msg;
@@ -535,7 +535,7 @@ camel_operation_start (CamelOperation *cc, char *what, ...)
  * previous state when finished.
  **/
 void
-camel_operation_start_transient (CamelOperation *cc, char *what, ...)
+camel_operation_start_transient (CamelOperation *cc, const gchar *what, ...)
 {
        va_list ap;
        char *msg;
index dc0ff23..940f10d 100644 (file)
@@ -59,8 +59,8 @@ struct PRFileDesc *camel_operation_cancel_prfd(CamelOperation *cc);
 /* return the registered operation for this thread, if there is one */
 CamelOperation *camel_operation_registered(void);
 
-void camel_operation_start(CamelOperation *cc, char *what, ...);
-void camel_operation_start_transient(CamelOperation *cc, char *what, ...);
+void camel_operation_start(CamelOperation *cc, const gchar *what, ...);
+void camel_operation_start_transient(CamelOperation *cc, const gchar *what, ...);
 void camel_operation_progress(CamelOperation *cc, int pc);
 void camel_operation_progress_count(CamelOperation *cc, int sofar);
 void camel_operation_end(CamelOperation *cc);
index 8d8941e..df958ee 100644 (file)
@@ -238,8 +238,6 @@ void  gdata_entry_set_im_addresses (GDataEntry *entry, GSList *ims);
 
 void  gdata_entry_set_organizations (GDataEntry *entry, GSList *orgs);
 
-void  gdata_entry_set_phone_numbers (GDataEntry *entry, GSList *numbers);
-
 void  gdata_entry_set_postal_addresses (GDataEntry *entry, GSList *pas);
 
 void gdata_entry_set_attendee_list (GDataEntry *entry, GSList *attendee);
@@ -256,8 +254,6 @@ GSList * gdata_entry_get_phone_numbers (GDataEntry *entry);
 
 GSList * gdata_entry_get_postal_addresses (GDataEntry *entry);
 
-gboolean gdata_entry_is_deleted (GDataEntry *entry);
-
 GDataEntryEmailAddress * gdata_entry_get_primary_email_address (GDataEntry *entry);
 
 GDataEntryIMAddress * gdata_entry_get_primary_im_address (GDataEntry *entry);
index c616a1d..b2406d4 100644 (file)
@@ -58,7 +58,6 @@ struct _GDataFeedClass {
 };
 
 GType gdata_feed_get_type(void);
-#endif
 
 /*** API ***/
 
@@ -73,3 +72,5 @@ gchar * gdata_feed_get_updated (GDataFeed *feed);
 GSList * gdata_feed_get_entries (GDataFeed *feed);
 
 const gchar *gdata_feed_get_timezone (GDataFeed *feed);
+
+#endif
index 6a92039..c9ef3b0 100644 (file)
@@ -162,8 +162,6 @@ EGwConnectionStatus e_gw_connection_move_item (EGwConnection *cnc, const char *i
 EGwConnectionStatus e_gw_connection_rename_folder (EGwConnection *cnc, const char *id ,const char *new_name) ;
 EGwConnectionStatus e_gw_connection_get_settings (EGwConnection *cnc, EGwSendOptions **opts);
 EGwConnectionStatus e_gw_connection_modify_settings (EGwConnection *cnc, EGwSendOptions *opts);
-EGwConnectionStatus e_gw_connection_add_items (EGwConnection *cnc, const char *container, GList *item_ids) ;
-EGwConnectionStatus e_gw_connection_rename_folder (EGwConnection *cnc, const char *id ,const char *new_name) ;
 EGwConnectionStatus e_gw_connection_share_folder (EGwConnection *cnc, gchar *id, GList *new_list, const char *sub, const char *mesg ,int flag);
 EGwConnectionStatus e_gw_connection_accept_shared_folder (EGwConnection *cnc, gchar *folder_name, gchar *container_id, gchar *item_id, gchar *desc);
 EGwConnectionStatus e_gw_connection_purge_deleted_items (EGwConnection *cnc);
index f40441e..2c91cf2 100644 (file)
@@ -295,9 +295,6 @@ EGwItemRecurrenceRule *e_gw_item_get_rrule (EGwItem *item);
 int e_gw_item_get_recurrence_key (EGwItem *item);
 void e_gw_item_set_recurrence_key (EGwItem *item, int recurrence_key);
 
-GSList * e_gw_item_get_attach_id_list (EGwItem *item) ;
-void e_gw_item_set_attach_id_list (EGwItem *item, GSList *attach_list) ;
-
 void e_gw_item_set_source (EGwItem *item, char *source) ;
 
 int e_gw_item_get_trigger (EGwItem *item);
index b9af1ed..572ea64 100644 (file)
@@ -53,7 +53,7 @@ e_gw_sendoptions_get_general_options (EGwSendOptions *opts)
 }
 
 EGwSendOptionsStatusTracking*
-e_gw_sendoptions_get_status_tracking_options (EGwSendOptions *opts, char *type)
+e_gw_sendoptions_get_status_tracking_options (EGwSendOptions *opts, const gchar *type)
 {
        g_return_val_if_fail (opts != NULL || E_IS_GW_SENDOPTIONS (opts), NULL);
        g_return_val_if_fail (type != NULL, NULL);
index b5b62be..cbb016f 100644 (file)
@@ -97,7 +97,7 @@ typedef struct {
 GType e_gw_sendoptions_get_type (void);
 EGwSendOptions* e_gw_sendoptions_new_from_soap_parameter (SoupSoapParameter *param);
 EGwSendOptionsGeneral* e_gw_sendoptions_get_general_options (EGwSendOptions *opts);
-EGwSendOptionsStatusTracking* e_gw_sendoptions_get_status_tracking_options (EGwSendOptions *opts, char *type);
+EGwSendOptionsStatusTracking* e_gw_sendoptions_get_status_tracking_options (EGwSendOptions *opts, const gchar *type);
 gboolean e_gw_sendoptions_form_message_to_modify (SoupSoapMessage *msg, EGwSendOptions *n_opts, EGwSendOptions *o_opts);
 EGwSendOptions * e_gw_sendoptions_new (void);