public
Description: A Clutter-based Twitter client
Homepage: http://live.gnome.org/Tweet
Clone URL: git://github.com/ebassi/tweet.git
Search Repo:
Add main entry point for Tweet
Emmanuele Bassi (author)
Fri Apr 11 06:32:03 -0700 2008
commit  9966e1eda420cd0ba4dc854650fc0919156d4250
tree    1356e7572d307a6ce6a82374775de937ba3c7ebd
parent  e2490767c32668b0d93846e31bd6932cd6d83e9e
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -1 +1,34 @@
0
+#ifdef HAVE_CONFIG_H
0
+#include "config.h"
0
+#endif
0
+
0
+#include <glib.h>
0
+#include "tweet-app.h"
0
+
0
+int
0
+main (int argc,
0
+ char *argv[])
0
+{
0
+ TweetApp *app;
0
+ GError *error;
0
+ int res = EXIT_FAILURE;
0
+
0
+ error = NULL;
0
+ app = tweet_app_get_default (&argc, &argv, &error);
0
+ if (error)
0
+ {
0
+ g_warning ("Unable to launch %s: %s", PACKAGE, error->message);
0
+ g_error_free (error);
0
+ return res;
0
+ }
0
+
0
+ if (tweet_app_is_running (app))
0
+ res = EXIT_SUCCESS;
0
+ else
0
+ res = tweet_app_run (app);
0
+
0
+ g_object_unref (app);
0
+
0
+ return res;
0
+}

Comments

    No one has commented yet.