gnome-scan r552 - in trunk: . src
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r552 - in trunk: . src
- Date: Thu, 28 Feb 2008 18:31:41 +0000 (GMT)
Author: bersace
Date: Thu Feb 28 18:31:41 2008
New Revision: 552
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=552&view=rev
Log:
Drop libgnome deps.
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/src/flegita.c
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Feb 28 18:31:41 2008
@@ -118,11 +118,11 @@
dnl FLEGITA
dnl ***************************************************************************
-PKG_CHECK_MODULES(FLEGITA, [libgnome-2.0 >= 2.14 libgnomeui-2.0 >= 2.14 gtk+-unix-print-2.0])
+PKG_CHECK_MODULES(FLEGITA, [gtk+-unix-print-2.0])
AC_SUBST(FLEGITA_CFLAGS)
AC_SUBST(FLEGITA_LIBS)
-REQUIRES=["libgnome-2.0 >= 2.14 libgnomeui-2.0 >= 2.14 gimpui-2.0 >= 2.2 gmodule-2.0 gegl >= 0.0.12 gthread-2.0"]
+REQUIRES=["gimpui-2.0 >= 2.2 gmodule-2.0 gegl >= 0.0.12 gthread-2.0"]
AC_SUBST(REQUIRES)
dnl ***************************************************************************
Modified: trunk/src/flegita.c
==============================================================================
--- trunk/src/flegita.c (original)
+++ trunk/src/flegita.c Thu Feb 28 18:31:41 2008
@@ -26,7 +26,6 @@
#endif
#include <glib/gprintf.h>
-#include <gnome.h>
#include <glib/gi18n.h>
#include <gnome-scan-init.h>
#include <gnome-scan-dialog.h>
@@ -69,7 +68,6 @@
"Franklin Street, Fifth Floor Boston, MA 02110-1301, "
"USA\n\n",
"logo-icon-name", "flegita",
- "program-name", _(g_get_application_name ()),
/* translator : Add you in this field */
"translator-credits", _("Not translated"),
"version", PACKAGE_VERSION,
@@ -82,25 +80,18 @@
gint
main (gint argc, gchar **argv)
{
- GnomeProgram *program;
GnomeScanJob *job;
GtkWidget *dialog;
GnomeScanSink *sink;
GtkWidget *about;
- /* init */
- program = gnome_program_init ("flegita", VERSION,
- LIBGNOMEUI_MODULE,
- argc, argv,
- GNOME_PARAM_NONE);
-
textdomain (GETTEXT_PACKAGE);
-
- g_set_application_name (_("Scanner Utility"));
- g_set_prgname ("flegita");
-
- gtk_window_set_default_icon_name ("flegita");
+
+ gtk_init (&argc, &argv);
gnome_scan_init (&argc, &argv);
+
+ gtk_window_set_default_icon_name ("flegita");
+ g_set_application_name (_("Scanner Utility"));
/* build */
sink = flegita_sink_new();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]