~ubuntu-branches/ubuntu/hardy/gedit/hardy-proposed

« back to all changes in this revision

Viewing changes to gedit/gedit.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2008-01-25 16:34:49 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20080125163449-a4smfp17gjdquxuw
Tags: 2.21.1-0ubuntu1
* New upstream release:
  - Reimplemented printing using GtkPrint and remove libgnomeprint[ui]
    dependency
  - Improvements to the plugin system code
  - Handle viewports as well as workspaces
  - Misc bugfixes

* debian/control:
  - Removed libgnomeprintui2.2-dev from Build-Depends, not needed anymore.
  - Bumped libgtksourceview2.0-dev build-dependency to >= 2.1.0.
* debian/patches/01_lpi.patch:
  - Updated for the new release.
* debian/patches/99_ltmain_as-needed.patch:
  - Updated for the new release.
* debian/patches/90_autoconf.patch:
  - Regenerated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 * list of people on the gedit Team.  
26
26
 * See the ChangeLog files for a list of changes. 
27
27
 *
28
 
 * $Id: gedit.c 5988 2007-10-28 14:44:53Z sfre $
 
28
 * $Id: gedit.c 6039 2007-12-28 19:52:37Z sfre $
29
29
 */
30
30
 
31
31
#ifdef HAVE_CONFIG_H
444
444
{
445
445
        GnomeProgram *program;
446
446
        GOptionContext *context;
 
447
        GeditPluginsEngine *engine;
447
448
        GeditWindow *window;
448
449
        GeditApp *app;
449
450
        gboolean restored = FALSE;
529
530
        gnome_authentication_manager_init ();
530
531
        
531
532
        /* Init plugins engine */
532
 
        gedit_debug_message (DEBUG_APP, "Init plugins");        
533
 
        gedit_plugins_engine_init ();
 
533
        gedit_debug_message (DEBUG_APP, "Init plugins");
 
534
        engine = gedit_plugins_engine_get_default ();
534
535
 
535
536
        gtk_about_dialog_set_url_hook (gedit_utils_activate_url, NULL, NULL);
536
537
        
586
587
 
587
588
        bacon_message_connection_free (connection);
588
589
 
589
 
        gedit_plugins_engine_shutdown ();
 
590
        /* We kept the original engine reference here. So let's unref it to
 
591
         * finalize it properly. 
 
592
         */
 
593
        g_object_unref (engine);
590
594
        gedit_prefs_manager_app_shutdown ();
591
595
        gedit_metadata_manager_shutdown ();
592
596
 
593
 
        gnome_accelerators_sync ();
594
 
 
595
597
        g_object_unref (program);
596
598
 
597
599
        return 0;