From f71108a214b028241e8c1750f4840afa82376f56 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 7 Oct 2012 17:15:07 -0300 Subject: [PATCH] extensionPrefs: Remove an extra parameter to set_cell_data_func --- js/extensionPrefs/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 7340dec91..53a6966e5 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -174,7 +174,7 @@ const Application = new Lang.Class({ let renderer = new Gtk.CellRendererText(); this._extensionSelector.pack_start(renderer, true); this._extensionSelector.add_attribute(renderer, 'text', 1); - this._extensionSelector.set_cell_data_func(renderer, Lang.bind(this, this._setExtensionInsensitive), null); + this._extensionSelector.set_cell_data_func(renderer, Lang.bind(this, this._setExtensionInsensitive)); this._extensionSelector.connect('changed', Lang.bind(this, this._extensionSelected)); toolitem = new Gtk.ToolItem({ child: this._extensionSelector });