Wireshark-commits: [Wireshark-commits] rev 28398: /trunk/gtk/ /trunk/gtk/: prefs_capture.c

Date: Mon, 18 May 2009 20:57:07 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28398

User: wmeier
Date: 2009/05/18 01:57 PM

Log:
 prefs_capture: Interface Options Edit dialog: code cleanup;
 - Fix typo which caused Properties|Descriptions value field to be incorrectly right-justified;
 - Fix several (small) memory leaks;
 - Rename variables & rework comments: What was a clist was replaced by a treeview/liststore;
 - Remove a left-over line of code still calling a gtk_clist function;
 - Rename some constants and variables to more closely reflect usage;
 - Add some defensive coding; 
 - Use gtk_combo_box_get_active_text if GTK+ is 2.6 or greater;
 - Simplify code in several places;
 - Use consistent indentation;

Directory: /trunk/gtk/
  Changes    Path               Action
  +283 -281  prefs_capture.c    Modified