aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_graph_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-1867/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-10-19Fix a bug when drawing TSN plots which results in a crash.Michael Tüxen1-1/+2
Obtained from Irene Ruengeler. svn path=/trunk/; revision=39466
2011-10-13Make clang on Mac OS X 10.7.2. happy.Michael Tüxen1-1/+1
svn path=/trunk/; revision=39406
2011-09-19Fix a crash when zooming into a TSN plot.Michael Tüxen1-107/+109
Provided by Irene Ruengeler. From me: remove tailing whitespaces. svn path=/trunk/; revision=39043
2011-09-16Fix a crash when analysing SCTP TSNs.Michael Tüxen1-0/+1
Provided by Irene Ruengeler. svn path=/trunk/; revision=39028
2011-08-24GTK3 expose_event -> drawAnders Broman1-6/+23
svn path=/trunk/; revision=38704
2011-08-12SCTP graphs:Anders Broman1-55/+191
- Use cairo_surface_t - rename variables refering to the surface. IOgraph - rename variables refering to the surface. svn path=/trunk/; revision=38493
2011-08-08Use GTK's G_PIAnders Broman1-12/+8
svn path=/trunk/; revision=38407
2011-08-08Don't include color.hAnders Broman1-1/+0
svn path=/trunk/; revision=38402
2011-08-05Free the PangoLayout.Anders Broman1-0/+5
svn path=/trunk/; revision=38346
2011-08-04Replace almost all uses of GtkObject (which no longer existsJörg Mayer1-1/+1
in GTK3) by GObject (which does). These were the trivial cases, the two remaining uses in packet_win.c are left for someone who understands the code. svn path=/trunk/; revision=38344
2011-08-03Get rid of gdk_draw_layout().Anders Broman1-27/+47
svn path=/trunk/; revision=38325
2011-07-31Try to fix:Anders Broman1-3/+3
cc1: warnings being treated as errors ../../gtk/sctp_graph_dlg.c: In function ‘draw_tsn_graph’: ../../gtk/sctp_graph_dlg.c:511: error: ‘cr’ may be used uninitialized in this function ../../gtk/sctp_graph_dlg.c: In function ‘draw_sack_graph’: ../../gtk/sctp_graph_dlg.c:163: error: ‘cr’ may be used uninitialized in this function ../../gtk/sctp_graph_dlg.c: In function ‘draw_nr_sack_graph’: ../../gtk/sctp_graph_dlg.c:341: error: ‘cr’ may be used uninitialized in this function svn path=/trunk/; revision=38296
2011-07-31This circle should not be filled.Anders Broman1-1/+1
svn path=/trunk/; revision=38294
2011-07-31Use Cairo for drawing.Anders Broman1-145/+245
svn path=/trunk/; revision=38291
2011-07-26Part 2 of the cleanup. fix some compile errors in previous patch.Jörg Mayer1-0/+1
svn path=/trunk/; revision=38217
2011-07-26Replace access to ...->allocation by gtk_widget_get_allocation +Jörg Mayer1-27/+23
using the return val - part 1 Maybe the call needs to be done more often. Replace GTK_WIDGET_STATE by gtk_widget_get_state svn path=/trunk/; revision=38215
2011-07-21Fix almost all accesses to ->windowJörg Mayer1-12/+13
svn path=/trunk/; revision=38151
2011-07-21Replace references to style by gtk_widget_get_style (according toJörg Mayer1-30/+30
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-get-style this doesn't require a minimum version) svn path=/trunk/; revision=38139
2011-07-14Replace deprecated gdk_pixmap_unref() with g_object_unref().Anders Broman1-1/+1
Update checkAPIs. svn path=/trunk/; revision=38013
2011-07-14Fix some compiler errors with -DGTK_DISABLE_DEPRECATEDJörg Mayer1-0/+20
svn path=/trunk/; revision=38006
2011-07-13Fix more tooltips fixes.Anders Broman1-5/+2
svn path=/trunk/; revision=37996
2011-06-07Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;Bill Meier1-7/+8
Also: whitespace cleanup in some cases. svn path=/trunk/; revision=37601
2011-05-15Mark a function arg as unused.Bill Meier1-1/+1
svn path=/trunk/; revision=37170
2011-05-15Replace a number if 'if(...){exit(10);}' by _g_asserts;Bill Meier1-54/+44
Fix an event callback function signature; Change quit() signal calback function to return void; #include <stdlib.h> not req'd; Misc minor changes. svn path=/trunk/; revision=37169
2011-04-26Plug a memory leak.Chris Maynard1-1/+0
svn path=/trunk/; revision=36859
2010-11-09Bugfix from Irene Ruengeler to improve the TSN plot for SCTPMichael Tüxen1-2/+2
when large gap reports are present. svn path=/trunk/; revision=34823
2010-10-12Define some vars & fcns as static;Bill Meier1-45/+59
Also: do some minor reformmating and cleanup of whitespace. svn path=/trunk/; revision=34492
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-2/+2
svn path=/trunk/; revision=31731
2009-09-04Cleanup whitespaces.Michael Tüxen1-10/+10
svn path=/trunk/; revision=29698
2009-09-04Fix handling of multiple duplicate TSNs.Michael Tüxen1-4/+2
svn path=/trunk/; revision=29697
2009-09-04Fix compilation.Michael Tüxen1-4/+4
svn path=/trunk/; revision=29696
2009-09-04From Irene Ruengeler: Show duplicate TSNs in SACKs.Michael Tüxen1-8/+43
svn path=/trunk/; revision=29695
2009-08-21From Irene Ruengeler: Fix two bugs regarding plotted TSNs reported byMichael Tüxen1-5/+5
Christian Constantin. svn path=/trunk/; revision=29498
2009-06-22Change window_new() to dlg_window_new() and destroy the window with the top ↵Anders Broman1-4/+2
level window. svn path=/trunk/; revision=28810
2009-06-15Trivial warning fixes:Jörg Mayer1-1/+1
- Might be used uninitialized - not a prototype - comma at end of enum svn path=/trunk/; revision=28730
2009-06-05* Fix name of Irene in AUTHORS.Michael Tüxen1-7/+234
* Add Varun Notibala to AUTHORS. * Add support for NR-SACK and fix stability problems. svn path=/trunk/; revision=28642
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-13/+13
numeric constant in various places; svn path=/trunk/; revision=27800
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_button_box_set_spacing() ==> gtk_box_set_spacing() svn path=/trunk/; revision=25673
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-3/+3
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-04-13sort #includes by directoriesUlf Lamping1-11/+13
svn path=/trunk/; revision=24969
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-8/+8
svn path=/trunk/; revision=24918
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestUlf Lamping1-1/+1
svn path=/trunk/; revision=24910
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-6/+6
svn path=/trunk/; revision=24896
2008-04-07Cleanup whitespaces.Michael Tüxen1-46/+43
svn path=/trunk/; revision=24831
2008-04-07remove GTK1 codeUlf Lamping1-103/+0
svn path=/trunk/; revision=24823
2008-03-01Include epan/strutil.h for gtk-1.2 builds.Michael Tüxen1-0/+1
svn path=/trunk/; revision=24513
2008-02-29Next attempt to cleanup some string functions, including:Stig Bjørlykke1-1/+1
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504