aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /shell/main.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/main.c b/shell/main.c
index 928a321e61..6cb7d7c255 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -213,7 +213,7 @@ show_development_warning(void)
GtkWidget *checkbox;
GtkWidget *alignment;
gboolean skip;
- char *text;
+ gchar *text;
warning_dialog = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (warning_dialog), "Evolution " VERSION);
@@ -347,7 +347,7 @@ static GStaticMutex segv_mutex = G_STATIC_MUTEX_INIT;
static pthread_t main_thread;
static void
-segv_redirect (int sig)
+segv_redirect (gint sig)
{
if (pthread_self () == main_thread)
gnome_segv_handler (sig);
@@ -531,7 +531,7 @@ slowly_and_stupidly_obtain_timestamp (GdkDisplay *display)
name = "Fake Window";
XChangeProperty (
xdisplay, xwindow, atom_name, atom_type,
- 8, PropModeReplace, (unsigned char *) name,
+ 8, PropModeReplace, (guchar *) name,
strlen (name));
XWindowEvent (
@@ -634,8 +634,8 @@ create_default_shell (void)
default_shell = shell;
}
-int
-main (int argc, char **argv)
+gint
+main (gint argc, gchar **argv)
{
#ifdef G_OS_WIN32
extern void link_shutdown (void);
@@ -711,7 +711,7 @@ main (int argc, char **argv)
setup_segv_redirect ();
if (evolution_debug_log) {
- int fd;
+ gint fd;
fd = g_open (evolution_debug_log, O_WRONLY | O_CREAT | O_TRUNC, 0600);
if (fd != -1) {