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

« back to all changes in this revision

Viewing changes to .pc/gnomeradio-g_list.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:
418
418
 
419
419
void exit_gnome_radio(void)
420
420
{
421
 
        if (settings.mute_on_exit) {
422
 
                radio_mute();
 
421
        if (settings.mute_on_exit)
423
422
                radio_stop();
424
 
        }
 
423
 
425
424
        mixer->close_device();
426
425
        save_settings();
427
426
        gtk_main_quit();
1162
1161
static void
1163
1162
session_die_cb(void)
1164
1163
{
1165
 
        if (settings.mute_on_exit) {
1166
 
                radio_mute();
 
1164
        if (settings.mute_on_exit)
1167
1165
                radio_stop();
1168
 
        }
 
1166
 
1169
1167
        mixer->close_device();
1170
1168
        gtk_main_quit();
1171
1169
        exit (0);