fixed license
[psensor.git] / src / ui.c
index fecd15b..dcb3ea0 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -89,7 +89,7 @@ void ui_show_about_dialog()
                 "copyright",
                 _("Copyright(c) 2010-2014 jeanfi@gmail.com"),
 #if GTK_CHECK_VERSION(3, 12, 0)
-                "license-type", GTK_LICENSE_GPL_2_0_ONLY,
+                "license-type", GTK_LICENSE_GPL_2_0,
 #endif
                 "logo-icon-name", "psensor",
                 "program-name", "Psensor",
@@ -198,7 +198,7 @@ void ui_window_create(struct ui_psensor *ui)
        if (!ok) {
                log_printf(LOG_ERR, error->message);
                g_error_free(error);
-               return ;
+               return;
        }
 
        window = GTK_WIDGET(gtk_builder_get_object(builder, "window"));