[gnome-builder] main: log runtime gtk+ version for debugging
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] main: log runtime gtk+ version for debugging
- Date: Thu, 25 Dec 2014 01:38:53 +0000 (UTC)
commit ffd6c3b27f58e7f28f663ce6fc774b8d03f227b2
Author: Christian Hergert <christian hergert me>
Date: Wed Dec 24 17:38:45 2014 -0800
main: log runtime gtk+ version for debugging
src/main.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 4834713..db26855 100644
--- a/src/main.c
+++ b/src/main.c
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define G_LOG_DOMAIN "Builder"
+
#include <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -37,6 +39,11 @@ main (int argc,
gb_log_init (TRUE, NULL);
ggit_init ();
+ g_message ("Initializing with Gtk+ version %d.%d.%d.\n",
+ gtk_get_major_version (),
+ gtk_get_minor_version (),
+ gtk_get_micro_version ());
+
app = g_object_new (GB_TYPE_APPLICATION,
"application-id", "org.gnome.Builder",
"flags", G_APPLICATION_HANDLES_OPEN,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]