* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
GParamSpec *pspec,
GtkColorChooserDialog *cc)
{
- g_object_notify (G_OBJECT (cc), "rgba");
+ g_object_notify (G_OBJECT (cc), pspec->name);
}
static void
g_signal_connect (priv->chooser, "notify::rgba",
G_CALLBACK (propagate_notify), cc);
+ g_signal_connect (priv->chooser, "notify::show-editor",
+ G_CALLBACK (propagate_notify), cc);
+
g_signal_connect (priv->chooser, "color-activated",
G_CALLBACK (color_activated_cb), cc);