"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "jpilot-sync.c" between
jpilot-1.8.2.tar.gz and jpilot-2_0_1.tar.gz

About: J-Pilot is a desktop organizer application for Palm Pilot (PalmOS) devices. Ported to GTK3.

jpilot-sync.c  (jpilot-1.8.2):jpilot-sync.c  (jpilot-2_0_1)
skipping to change at line 52 skipping to change at line 52
unsigned char skip_plugins; unsigned char skip_plugins;
/* Start Hack */ /* Start Hack */
/* FIXME: The following is a hack. /* FIXME: The following is a hack.
* The variables below are global variables in jpilot.c which are unused in * The variables below are global variables in jpilot.c which are unused in
* this code but must be instantiated for the code to compile. * this code but must be instantiated for the code to compile.
* The same is true of the functions which are only used in GUI mode. */ * The same is true of the functions which are only used in GUI mode. */
pid_t jpilot_master_pid = -1; pid_t jpilot_master_pid = -1;
int *glob_date_label; int *glob_date_label;
GtkWidget *glob_dialog; GtkWidget *glob_dialog;
GtkTooltips *glob_tooltips;
gint glob_date_timer_tag; gint glob_date_timer_tag;
void output_to_pane(const char *str) { return; } void output_to_pane(const char *str) { return; }
void cb_app_button(GtkWidget *widget, gpointer data) { return; } void cb_app_button(GtkWidget *widget, gpointer data) { return; }
void cb_cancel_sync(GtkWidget *widget, unsigned int flags) { return; } void cb_cancel_sync(GtkWidget *widget, unsigned int flags) { return; }
/* End Hack */ /* End Hack */
/****************************** Main Code *************************************/ /****************************** Main Code *************************************/
static void fprint_jps_usage_string(FILE *out) static void fprint_jps_usage_string(FILE *out)
{ {
skipping to change at line 115 skipping to change at line 114
char port[MAX_PREF_LEN]; char port[MAX_PREF_LEN];
#ifdef ENABLE_PLUGINS #ifdef ENABLE_PLUGINS
struct plugin_s *plugin; struct plugin_s *plugin;
GList *plugin_list, *temp_list; GList *plugin_list, *temp_list;
jp_startup_info info; jp_startup_info info;
#endif #endif
/* enable internationalization(i18n) before printing any output */ /* enable internationalization(i18n) before printing any output */
#if defined(ENABLE_NLS) #if defined(ENABLE_NLS)
# ifdef HAVE_LOCALE_H # ifdef HAVE_LOCALE_H
char *current_locale; setlocale(LC_ALL, "");
current_locale = setlocale(LC_ALL, "");
# endif # endif
bindtextdomain(EPN, LOCALEDIR); bindtextdomain(EPN, LOCALEDIR);
textdomain(EPN); textdomain(EPN);
#endif #endif
port[0]='\0'; port[0]='\0';
glob_child_pid=0; glob_child_pid=0;
loop=0; loop=0;
skip_plugins=0; skip_plugins=0;
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)