diff src/bar_gps.c @ 2909:2e7fd08bfbe4

DEBUG_NAME() function for use with GTKInspector This debug function can be used with GTKInspector to provide a visual indication of where a widget is declared. This is a documentation facility to aid developers new to the project. Sample call: GTK_DEBUG=interactive src/geeqie
author Colin Clark <colin.clark@cclark.uk>
date Thu, 14 Feb 2019 12:05:04 +0000
parents ade287ae8e45
children
line wrap: on
line diff
--- a/src/bar_gps.c	Wed Feb 13 11:47:38 2019 +0000
+++ b/src/bar_gps.c	Thu Feb 14 12:05:04 2019 +0000
@@ -934,6 +934,7 @@
 	pgd->height = height;
 
 	frame = gtk_frame_new(NULL);
+	DEBUG_NAME(frame);
 	vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
 
 	gpswidget = gtk_champlain_embed_new();