~ubuntu-branches/ubuntu/intrepid/gnome-nettool/intrepid

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-03-16 14:42:30 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060316144230-qruuahx3iypfj5w0
Tags: 2.14.0-0ubuntu1
* New upstream version:
  - #326184: Deal with errors from gtk_init_with_args (Paolo Borelli)
  - Updated translations:
      - bn (Runa Bhattacharjee)
      - lt (Zygimantas Berucka)
      - vi (Clytie Siddall)
* debian/patches/03_autoconf.patch:
  - updated
* debian/patches/04_menu_change.patch:
  - use "View information about your network" instead of 
    "Network Information Tools" as menu tooltip

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        static gchar *lookup_input = NULL;
75
75
        static gchar *finger_input = NULL;
76
76
        static gchar *whois_input = NULL;
 
77
        GError *error = NULL;
 
78
 
77
79
        GOptionEntry options[] = {
78
80
                { "info", 'i', 0, G_OPTION_ARG_STRING, &info_input,
79
81
                  N_("Load information for a network device"),
116
118
        textdomain (GETTEXT_PACKAGE);
117
119
#endif
118
120
 
119
 
        gtk_init_with_args (&argc, &argv,NULL,options,NULL,NULL);
 
121
        if (!gtk_init_with_args (&argc, &argv, NULL, options, NULL, &error)) {
 
122
                g_print ("%s\n\n", error->message);
 
123
                return -1;
 
124
        }
120
125
 
121
126
        if (!g_file_test (dialog, G_FILE_TEST_EXISTS)) {
122
127
                g_critical (_("The file %s doesn't exist, "