aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config-factory.c')
-rw-r--r--mail/mail-config-factory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c
index 8780973535..bda05e83ad 100644
--- a/mail/mail-config-factory.c
+++ b/mail/mail-config-factory.c
@@ -25,6 +25,8 @@
#include <config.h>
#endif
+#include <string.h>
+
#include "mail-accounts.h"
#include "mail-preferences.h"
#include "mail-composer-prefs.h"
@@ -93,7 +95,7 @@ mail_config_control_factory_cb (BonoboGenericFactory *factory, const char *compo
}
data->prefs = prefs;
- g_object_ref((prefs));
+ g_object_ref (prefs);
gtk_widget_show_all (prefs);