Mercurial > hg > forks > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
2908:ea58314bd19d | 2909:2e7fd08bfbe4 |
---|---|
932 pgd->pane.type = PANE_GPS; | 932 pgd->pane.type = PANE_GPS; |
933 pgd->pane.expanded = expanded; | 933 pgd->pane.expanded = expanded; |
934 pgd->height = height; | 934 pgd->height = height; |
935 | 935 |
936 frame = gtk_frame_new(NULL); | 936 frame = gtk_frame_new(NULL); |
937 DEBUG_NAME(frame); | |
937 vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); | 938 vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); |
938 | 939 |
939 gpswidget = gtk_champlain_embed_new(); | 940 gpswidget = gtk_champlain_embed_new(); |
940 view = gtk_champlain_embed_get_view(GTK_CHAMPLAIN_EMBED(gpswidget)); | 941 view = gtk_champlain_embed_get_view(GTK_CHAMPLAIN_EMBED(gpswidget)); |
941 | 942 |