~ubuntu-branches/ubuntu/utopic/gnomeradio/utopic

« back to all changes in this revision

Viewing changes to .pc/gnomeradio-gtk_stock.patch/src/prefs.c

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-09-30 12:21:35 UTC
  • Revision ID: package-import@ubuntu.com-20130930122135-vf81kgrs7vdvxlph
Tags: 1.8-2ubuntu24
* Fixed previous debian/changelog: gnomeradio-tray_menu.patch is a new patch
  not one updated.
* Updated debian/patches/gnomeradio-alsa.patch: Fixed wrong switch in case
  statement. (LP: 1240691)
* Updated debian/patches/gnomeradio-auto_device.patch: Fixed pointer to local
  stack variable returned or used outside scope.
* Updated debian/patches/gnomeradio-preferences.patch:
  - Fixed the indentation of code suggests it is nested when it is not.
  - Fixed function that returns non-void is missing a return value.
  - Use GtkSwitch instead GtkRadioButton to change audio loopback state.
    (LP: 1240632)
  - Avoid memory leak (unref the gconf client when we're done).
* Updated debian/patches/gnomeradio-tray_menu.patch: Moved
  tree_view_switch_to_preset() inside of gnomeradio_switch_to_preset() so
  preset list will be updated when use LIRC command.
* Updated gnomeradio-station_list.patch: Make sure the XML document will be
  indented.

Show diffs side-by-side

added added

removed removed

Lines of Context:
894
894
        model = gtk_tree_view_get_model(GTK_TREE_VIEW(list_view));
895
895
        /* ...and go through it with a foreach */
896
896
        gtk_tree_model_foreach(model, (GtkTreeModelForeachFunc)save_to_file_foreach, (gpointer)root);
 
897
        /* make sure the XML document will be indented */
 
898
        xmlIndentTreeOutput = 1;
897
899
        /* save the actual file */
898
 
        xmlSaveFile(filename, doc);
 
900
        xmlSaveFormatFileEnc(filename, doc, "utf-8", 1);
899
901
        /* free the doc node */
900
902
        xmlFreeDoc(doc);
901
903
}
983
985
                                gtk_tree_store_append(GTK_TREE_STORE(model), &parent, NULL);
984
986
                        else
985
987
                                gtk_list_store_append(GTK_LIST_STORE(model), &parent);
986
 
                                gtk_tree_model_generate_path(model, temp);
987
 
                                break;
 
988
                        gtk_tree_model_generate_path(model, temp);
 
989
                        break;
988
990
                }
989
991
                if (GTK_IS_TREE_STORE(model)) {
990
992
                        gtk_tree_model_generate_path(model, path);