* 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"
return;
if ((option->type == GTK_PRINTER_OPTION_TYPE_PICKONE ||
- option->type == GTK_PRINTER_OPTION_TYPE_ALTERNATIVE) &&
- value != NULL)
+ option->type == GTK_PRINTER_OPTION_TYPE_ALTERNATIVE))
{
int i;
if (i == option->num_choices)
return; /* Not found in available choices */
}
-
+
g_free (option->value);
option->value = g_strdup (value);