~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to .pc/gnomeradio-thread_safe.patch/src/gui.c

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-09-20 13:31:33 UTC
  • Revision ID: package-import@ubuntu.com-20130920133133-otwactksfjh4bwev
Tags: 1.8-2ubuntu23
* Updated debian/patches/gnomeradio-tray_menu.patch:
  - Fixed menu item not update conform new order when we use move up[down]
    swap. (LP: #1232931)
  - Fixed conditional jump or move depends on uninitialized value.
  - Added function to switch to preset in settings preset list when changed
    them from tray menu.
  - Cleaned up the files relating to the tray icon. Neither gui.c, prefs.c nor
    record.c touch the internals of trayicon.c anymore.
* Updated debian/patches/gnomeradio-preferences.patch:
  - Added option to disable audio loopback mode in Preferences settings.
  - Moved in separate GOptionGroup all command line parameters which refers to
    audio loopback mode.
* Updated debian/patches/gnomeradio-device.patch: Not need radio_mute() when
  exit or session die, already is called in radio_stop().
* Updated debian/patches/gnomeradio-station_list.patch: Fixed pointer targets
  in passing argument differ in signedness.
* Removed the content against configure and Makefile.in, since we use
  autoreconf anyways, from:
  - debian/patches/gnomeradio-gstreamer-1.0.patch.
  - debian/patches/gnomeradio-volume_button.patch.
* Updated debian/patches/gnomeradio-volume_button.patch: Removed unused
  vol_down[up].xpm icons.
* debian/gnomeradio.1: Updated man page.   

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
 
420
420
void exit_gnome_radio(void)
421
421
{
422
 
        if (settings.mute_on_exit) {
423
 
                radio_mute();
 
422
        if (settings.mute_on_exit)
424
423
                radio_stop();
425
 
        }
 
424
 
426
425
        mixer->close_device();
427
426
        save_settings();
428
427
        gtk_main_quit();
1163
1162
static void
1164
1163
session_die_cb(void)
1165
1164
{
1166
 
        if (settings.mute_on_exit) {
1167
 
                radio_mute();
 
1165
        if (settings.mute_on_exit)
1168
1166
                radio_stop();
1169
 
        }
 
1167
 
1170
1168
        mixer->close_device();
1171
1169
        gtk_main_quit();
1172
1170
        exit (0);