aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_player.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-10Sean Bright <sean.bright@gmail.com>:Jörg Mayer1-1/+1
In r37159, the following change was made to ui/gtk/rtp_player.c: @@ -1654,9 +1636,7 @@ GtkWidget *dialog; /* we should never be here if we are in PLAY and !PAUSE */ - if(!rtp_channels->stop&& !rtp_channels->pause){ - exit(10); - } + g_assert(!rtp_channels->stop&& !rtp_channels->pause); The logic, however, was not negated properly. The correct assertion should be: g_assert(rtp_channels->stop || rtp_channels->pause); With the current code, the RTP player causes a crash for me when pressing the 'Play' button. svn path=/trunk/; revision=40951
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-1/+1
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+2530
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518