/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ #include #include #include #include #include #include #include #include "e-msg-composer.h" static void send_cb (EMsgComposer *composer, gpointer data) { CamelMimeMessage *message; CamelStream *stream; gint stdout_dup; message = e_msg_composer_get_message (composer); stdout_dup = dup (1); stream = camel_stream_fs_new_with_fd (stdout_dup); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), stream); camel_stream_close (stream); gtk_object_unref (GTK_OBJECT (message)); #if 0 gtk_widget_destroy (GTK_WIDGET (composer)); gtk_main_quit (); #endif } static guint create_composer (void) { GtkWidget *composer; composer = e_msg_composer_new (); gtk_widget_show (composer); gtk_signal_connect (GTK_OBJECT (composer), "send", GTK_SIGNAL_FUNC (send_cb), NULL); return FALSE; } int main (int argc, char **argv) { CORBA_Environment ev; CORBA_ORB orb; CORBA_exception_init (&ev); gnome_CORBA_init ("evolution-test-msg-composer", "0.0", &argc, argv, 0, &ev); CORBA_exception_free (&ev); orb = gnome_CORBA_ORB (); glade_gnome_init (); if (bonobo_init (orb, NULL, NULL) == FALSE) g_error ("Could not initialize Bonobo\n"); /* We can't make any CORBA calls unless we're in the main loop. So we delay creating the container here. */ gtk_idle_add ((GtkFunction) create_composer, NULL); bonobo_main (); return 0; } ron4/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 1.19sunpoet2017-04-092-5/+4
* Update to 1.18sunpoet2017-04-092-4/+4
* Update to 1.17sunpoet2017-02-142-4/+4
* dns/p5-Net-Domain-ExpireDate: update 1.15.2 -> 1.16pi2016-10-312-4/+4
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*amdmi32016-05-191-6/+6
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-1/+1
* - Update to 1.15.2sunpoet2016-01-132-3/+4
* - Update to 0.15.1sunpoet2015-01-133-5/+5
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-262-1/+1
* Cleanup plistbapt2014-10-271-5/+0
* - update to 1.15leeym2014-07-152-4/+4
* Support STAGEDIR.vanilla2013-11-032-5/+3
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Add WWWsunpoet2013-08-301-1/+0
* - Convert to new perl frameworkmat2013-08-031-1/+2
* Update to 1.11.tobez2013-03-202-3/+4
* Update to 1.10.tobez2013-01-152-3/+3
* - Update to 1.09jadawin2012-12-193-34/+4
* Cleanup supporting perl version 5.8 and 5.10,az2012-12-17