#include <config.h>
#endif
+#include <glib/gstdio.h>
+
#include <libgda/libgda.h>
#include <sql-parser/gda-sql-parser.h>
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
{
char *filename;
- struct stat buf;
+ GStatBuf buf;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
#include <Python.h>
+#include <glib/gstdio.h>
+
#include "ooo.h"
static void solipa_ooo_class_init (SolipaOOOClass *class);
#include <stdlib.h>
+#include <glib/gstdio.h>
#include <gtk/gtk.h>
#ifdef G_OS_WIN32
Solipa *solipa;
SolipaPrivate *priv;
- /* inizializzo GType e GThread */
- g_type_init ();
- g_thread_init (NULL);
-
solipa = SOLIPA (g_object_new (solipa_get_type (), NULL));
priv = SOLIPA_GET_PRIVATE (solipa);
#include <errno.h>
#include <math.h>
+#include <glib/gstdio.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#ifdef G_OS_WIN32
/* da rimuovere quando gnome-vfs-extra (o gvfs) sarĂ compilabile in win */
- guint err;
+ HINSTANCE err;
err = ShellExecute (NULL, "open", indirizzo, NULL, NULL, SW_SHOW);
if (err < 33)
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <solipa.h>
-#include <allegato.h>
+#include "solipa.h"
+#include "allegato.h"
+#include "utils.h"
GtkWidget *w;
/*
- * Copyright (C) 2011 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2011-2015 Andrea Zagli <azagli@libero.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
int
main (int argc, char **argv)
{
- g_type_init ();
-
if (argc != 2) return 0;
if (!solipa_mail_check_email_address (argv[1]))
/*
- * Copyright (C) 2011 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2011-2015 Andrea Zagli <azagli@libero.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
gchar *name;
gchar *address;
- g_type_init ();
-
if (argc != 2) return 0;
lst = solipa_mail_get_addresses_from_string (argv[1]);
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "utils.h"
#include <mailui.h>
Solipa *solipa;
int ret;
guint part;
- g_type_init ();
-
if (argc == 3)
{
ret = solipa_compare_version (argv[1], argv[2], NULL, &part);
/*
- * Copyright (C) 2011 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2011-2015 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
{
GDateTime *gdatetime;
- g_type_init ();
-
if (argc == 3)
{
gdatetime = solipa_get_gdatetime_from_string (argv[1], argv[2]);
/*
- * Copyright (C) 2012 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2012-2015 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
{
GString *str;
- g_type_init ();
-
if (argc == 2)
{
str = g_string_new (argv[1]);
/*
- * Copyright (C) 2011 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2011-2015 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <glib/gprintf.h>
+
#include <solipa.h>
#include <utils.h>