Changeset 43 for trunk/src/main.cxx

Show
Ignore:
Timestamp:
04/12/06 13:51:22 (3 years ago)
Author:
jordi
Message:

Included the config.h file into all source files.

Added the default ePDFView's icon, which is Gnome's Postscript Viewer file. Now is loaded by the MainWindow? class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cxx

    r33 r43  
    1616// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1717 
     18#include <config.h> 
     19#include <stdlib.h> 
     20#include <gettext.h> 
    1821#include <gtk/gtk.h> 
    1922#include <IMainView.h> 
     
    2831    // Initialize the GTK library. 
    2932    gtk_init (&argc, &argv); 
     33    g_set_application_name (_("PDF Viewer")); 
    3034    // Create the main presenter. 
    3135    MainPter *mainPter = new MainPter (); 
     
    4145    delete mainPter; 
    4246    // All done!. 
    43     return 0; 
     47    return EXIT_SUCCESS; 
    4448}