comparison src/ui_pathsel.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 62da56d27277
children
comparison
equal deleted inserted replaced
2908:ea58314bd19d 2909:2e7fd08bfbe4
1066 1066
1067 hbox2 = gtk_hbox_new(FALSE, PREF_PAD_GAP); 1067 hbox2 = gtk_hbox_new(FALSE, PREF_PAD_GAP);
1068 if (filter) 1068 if (filter)
1069 { 1069 {
1070 paned = gtk_hpaned_new(); 1070 paned = gtk_hpaned_new();
1071 DEBUG_NAME(paned);
1071 gtk_table_attach(GTK_TABLE(table), paned, 0, 3, 1, 2, 1072 gtk_table_attach(GTK_TABLE(table), paned, 0, 3, 1, 2,
1072 GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); 1073 GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
1073 gtk_widget_show(paned); 1074 gtk_widget_show(paned);
1074 gtk_paned_add1(GTK_PANED(paned), hbox2); 1075 gtk_paned_add1(GTK_PANED(paned), hbox2);
1075 } 1076 }